Commit 1023c381 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1550 from mshabunin:install-samples-src

parents f3193174 4223df69
......@@ -28,7 +28,7 @@ static void help() {
}
int getdir(const string _filename, vector<String> &files)
static int getdir(const string _filename, vector<String> &files)
{
ifstream myfile(_filename.c_str());
if (!myfile.is_open()) {
......
......@@ -50,8 +50,7 @@ static void help() {
* values will be (-1,-1).
*/
void
parser_2D_tracks(const String &_filename, std::vector<Mat> &points2d )
static void parser_2D_tracks(const String &_filename, std::vector<Mat> &points2d )
{
ifstream myfile(_filename.c_str());
......@@ -109,7 +108,7 @@ parser_2D_tracks(const String &_filename, std::vector<Mat> &points2d )
bool camera_pov = false;
void keyboard_callback(const viz::KeyboardEvent &event, void* cookie)
static void keyboard_callback(const viz::KeyboardEvent &event, void* cookie)
{
if ( event.action == 0 &&!event.symbol.compare("s") )
camera_pov = !camera_pov;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment