summaryrefslogtreecommitdiff
path: root/common/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/defines.h')
-rw-r--r--common/defines.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/defines.h b/common/defines.h
index 9cb8391..d9c818f 100644
--- a/common/defines.h
+++ b/common/defines.h
@@ -91,8 +91,11 @@ unsigned long SwapLONG(unsigned long x)
#define FLOATRGB(f) RGB(f[0]*255, f[1]*255, f[2]*255)
+#ifndef M_PI
+#define M_PI 3.14159265
+#endif
+
#define LC_CONNECTIONS 2 // Different piece connections
-#define LC_APP_VERSION 0.72f // Current version
#define LC_STR_VERSION "LeoCAD 0.7 Project\0\0" // char[20]
#define LC_MAXCOLORS 28 // Number of colors supported