18 #ifndef __H__OCULAR_ENGINE_MATH_DEFINITIONS__H__
19 #define __H__OCULAR_ENGINE_MATH_DEFINITIONS__H__
35 static const double ONE_OVER_TWO = 0.5;
37 static const double PI = 3.14159265;
38 static const double PI_TWO = 6.28318531;
39 static const double PI_OVER_TWO = 1.57079632;
40 static const double PI_OVER_180 = 0.01745329;
41 static const double PI_UNDER_180 = 57.2957796;
42 static const double PHI = 1.61803399;
44 static const double EPSILON_DOUBLE = 0.0001;
45 static const float EPSILON_FLOAT = 0.0001f;
47 static const float RAY_LINE_LENGTH = 1000000000000.0f;
49 static const float NORMAL_RANGE = 1000000000000.0f;
50 static const float HALF_NORMAL_RANGE = 500000000000.0f;
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70