summaryrefslogtreecommitdiff
path: root/common/defines.h
diff options
context:
space:
mode:
authorleo2005-02-11 19:09:06 +0000
committerleo2005-02-11 19:09:06 +0000
commitc4eb0fc66d5ae23c06eef729c1d817aae4ac4866 (patch)
treec2230930f75892a51a1ccc46914398223f3fa97e /common/defines.h
parentd8fb3cc03a749691a5a12096fdfb6ca0d130b276 (diff)
Added the Quaternion class, faster float functions, and a ProjectPoint() function.
git-svn-id: http://svn.leocad.org/trunk@376 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/defines.h')
-rw-r--r--common/defines.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/defines.h b/common/defines.h
index 9c05646..55829c2 100644
--- a/common/defines.h
+++ b/common/defines.h
@@ -57,7 +57,13 @@ char* strlwr(char* string);
/////////////////////////////////////////////////////////////////////////////
// LeoCAD constants
-// Math numbers
+// Math numbers.
+#define LC_DTOR 0.017453f
+#define LC_RTOD 57.29578f
+#define LC_PI 3.141592f
+#define LC_2PI 6.283185f
+
+
#define DTOR 0.017453f
#define RTOD 57.29578f
#define PI 3.14159265