vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gm_const.h
Go to the documentation of this file.
1 // gmConst.h - graphics math constants
2 //
3 // libgm++: Graphics Math Library
4 // Ferdi Scheepers and Stephen F May
5 // 15 June 1994
6 // ----------------------------------
7 // modified: October 2002
8 // Pavel Kolcarek, kolcarek@fi.muni.cz
9 //
10 
11 #ifndef GM_CONST_H
12 #define GM_CONST_H
13 
14 // USEFUL CONSTANTS
15 
16 double const gm2PI = 6.28318530717958623200;
17 double const gmDEGTORAD = 0.01745329251994329547;
18 double const gmE = 2.71828182845904553488;
19 double const gmEEXPPI = 23.14069263277927390732;
20 double const gmGOLDEN = 1.61803398874989490253;
21 double const gmINVPI = 0.31830988618379069122;
22 double const gmLN10 = 2.30258509299404590109;
23 double const gmLN2 = 0.69314718055994528623;
24 double const gmLOG10E = 0.43429448190325187218;
25 double const gmLOG2E = 1.44269504088896338700;
26 double const gmPI = 3.14159265358979323846;
27 double const gmPIDIV2 = 1.57079632679489655800;
28 double const gmPIDIV4 = 0.78539816339744827900;
29 double const gmRADTODEG = 57.29577951308232286465;
30 double const gmSQRT2 = 1.41421356237309514547;
31 double const gmSQRT2PI = 2.50662827463100024161;
32 double const gmSQRT3 = 1.73205080756887719318;
33 double const gmSQRT10 = 3.16227766016837952279;
34 double const gmSQRTE = 1.64872127070012819416;
35 double const gmSQRTHALF = 0.70710678118654757274;
36 double const gmSQRTLN2 = 0.83255461115769768821;
37 double const gmSQRTPI = 1.77245385090551588192;
38 double const gmEPSILON = 1.0e-10;
39 double const gmGOOGOL = 1.0e50;
40 
41 #endif
42 
43