From 154a3d8ebc56c00b680ca196381bb46680f20794 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 2 Apr 2013 22:50:09 +0200 Subject: const double -> #define --- facetracknoir/tracker_types.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'facetracknoir') 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) { -- cgit v1.2.3