Skip to content

Commit

Permalink
Windows fix: M_PI undeclared
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir55 committed Mar 12, 2018
1 parent a3a0927 commit d4afe83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/LineSegmentation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/core/core.hpp"

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

#define CHUNKS_NUMBER 20
#define CHUNKS_TO_BE_PROCESSED 5
#define TEST_LINE_COLOR cv::Vec3b(255, 0, 255) // Magenta color.
Expand Down

0 comments on commit d4afe83

Please sign in to comment.