1 // Mathematical Constants used by Architektonas
3 // Part of the Architektonas Project
4 // (C) 2011 Underground Software
5 // See the README and GPLv3 files for licensing and warranty information
7 // NOTE: Since this has no code associated with it, there is no corresponding
10 // JLH = James Hammons <jlhamm@acm.org>
13 // --- ---------- ------------------------------------------------------------
14 // JLH 04/01/2011 Created this file
17 #define PI 3.14159265358979323846264338327
18 #define PI_OVER_2 (PI / 2.0)
19 #define PI3_OVER_2 ((3.0 * PI) / 2.0)
20 #define PI_TIMES_2 (PI * 2.0)
21 #define RADIANS_TO_DEGREES (180.0 / PI)
22 #define DEGREES_TO_RADIANS (PI / 180.0)