summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-02 22:50:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-02 22:50:09 +0200
commit154a3d8ebc56c00b680ca196381bb46680f20794 (patch)
tree022448663141ef09599aaa6258ced33c116b9a19
parent7be216d351b4b09e01ef2ce0cf8b0ab94f801713 (diff)
const double -> #define
-rw-r--r--facetracknoir/tracker_types.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/facetracknoir/tracker_types.cpp b/facetracknoir/tracker_types.cpp
index cdd8d239..5a6126ff 100644
--- a/facetracknoir/tracker_types.cpp
+++ b/facetracknoir/tracker_types.cpp
@@ -1,9 +1,9 @@
#include "tracker_types.h"
#include "rotation.h"
-const double PI = 3.14159265358979323846264;
-const double D2R = PI/180.0;
-const double R2D = 180.0/PI;
+#define PI 3.14159265358979323846264
+#define D2R PI/180.0
+#define R2D 180.0/PI
T6DOF operator-(const T6DOF& A, const T6DOF& B)
{