Subversion Repositories gelsvn

Rev

Rev 595 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 595 Rev 624
Line 25... Line 25...
25
#ifndef M_PI
25
#ifndef M_PI
26
#define M_PI 3.14159265358979323846
26
#define M_PI 3.14159265358979323846
27
#define M_PI_2 1.57079632679489661923
27
#define M_PI_2 1.57079632679489661923
28
#endif
28
#endif
29
 
29
 
-
 
30
#ifndef DEGREES_TO_RADIANS
-
 
31
#define DEGREES_TO_RADIANS (M_PI / 180.0)
-
 
32
#endif
-
 
33
 
30
namespace CGLA 
34
namespace CGLA 
31
{
35
{
32
		inline float cgla_nan() 
36
		inline float cgla_nan() 
33
		{
37
		{
34
				static const float cgla_nan_value = log(-1.0f);
38
				static const float cgla_nan_value = log(-1.0f);