]> Shamusworld >> Repos - architektonas/blobdiff - src/mathconstants.h
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / mathconstants.h
diff --git a/src/mathconstants.h b/src/mathconstants.h
new file mode 100644 (file)
index 0000000..c97249c
--- /dev/null
@@ -0,0 +1,19 @@
+// Mathematical Constants used by Architektonas
+//
+// Part of the Architektonas Project
+// (C) 2011 Underground Software
+// See the README and GPLv3 files for licensing and warranty information
+//
+// NOTE: Since this has no code associated with it, there is no corresponding
+//       .cpp file.
+//
+// JLH = James L. Hammons <jlhamm@acm.org>
+//
+// WHO  WHEN        WHAT
+// ---  ----------  ------------------------------------------------------------
+// JLH  04/01/2011  Created this file
+//
+
+#define PI 3.14159265358979323846264338327
+#define RADIANS_TO_DEGREES (180.0 / PI)
+#define DEGREES_TO_RADIANS (PI / 180.0)