X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmathconstants.h;fp=src%2Fmathconstants.h;h=c97249cd7491731af251e54028d023c7ce83f4bd;hb=9f6ad3fe0b9cb30115a5d38e8af3aebed0d70c08;hp=0000000000000000000000000000000000000000;hpb=43c13b052d069ba435277d93867380d00c04931f;p=architektonas diff --git a/src/mathconstants.h b/src/mathconstants.h new file mode 100644 index 0000000..c97249c --- /dev/null +++ b/src/mathconstants.h @@ -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 +// +// 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)