]> Shamusworld >> Repos - architektonas/blobdiff - src/mathconstants.h
Fixed Rotate tool to work with Arcs.
[architektonas] / src / mathconstants.h
index c97249cd7491731af251e54028d023c7ce83f4bd..42f4940343c5119aa97867f63e225e01f643657e 100644 (file)
@@ -7,13 +7,17 @@
 // NOTE: Since this has no code associated with it, there is no corresponding
 //       .cpp file.
 //
-// JLH = James L. Hammons <jlhamm@acm.org>
+// JLH = James Hammons <jlhamm@acm.org>
 //
 // WHO  WHEN        WHAT
 // ---  ----------  ------------------------------------------------------------
 // JLH  04/01/2011  Created this file
 //
 
-#define PI 3.14159265358979323846264338327
+#define PI                 3.14159265358979323846264338327
+#define PI_OVER_2          (PI / 2.0)
+#define PI3_OVER_2         ((3.0 * PI) / 2.0)
+#define PI_TIMES_2         (PI * 2.0)
 #define RADIANS_TO_DEGREES (180.0 / PI)
 #define DEGREES_TO_RADIANS (PI / 180.0)
+