Subversion Repositories gelsvn

Rev

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

Rev 12 Rev 21
Line 9... Line 9...
9
#ifndef M_PI
9
#ifndef M_PI
10
#define M_PI 3.14159265358979323846
10
#define M_PI 3.14159265358979323846
11
#define M_PI_2 1.57079632679489661923
11
#define M_PI_2 1.57079632679489661923
12
#endif
12
#endif
13
 
13
 
14
#define CGLA_INIT_VALUE NAN
-
 
15
 
-
 
16
namespace CGLA 
14
namespace CGLA 
17
{
15
{
-
 
16
  /** Procedural definition of NAN */  
-
 
17
  const float CGLA_NAN = log(-1.0f);
-
 
18
 
-
 
19
  /** NAN is used for initialization of vectors and matrices
-
 
20
      in debug mode */
-
 
21
  const float CGLA_INIT_VALUE = CGLA_NAN;
18
  
22
 
19
  /** Numerical constant representing something large.
23
  /** Numerical constant representing something large.
20
      value is a bit arbitrary */
24
      value is a bit arbitrary */
21
  const double BIG=10e+30;
25
  const double BIG=10e+30;
22
 
26
 
23
  /** Numerical constant represents something extremely small.
27
  /** Numerical constant represents something extremely small.