diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-02 22:50:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-02 22:50:09 +0200 |
commit | 154a3d8ebc56c00b680ca196381bb46680f20794 (patch) | |
tree | 022448663141ef09599aaa6258ced33c116b9a19 /facetracknoir | |
parent | 7be216d351b4b09e01ef2ce0cf8b0ab94f801713 (diff) |
const double -> #define
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/tracker_types.cpp | 6 |
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)
{
|