D:/CHAI3D/build-2-0-0/2.0.0/win32/src/math/CConstants.h File Reference

Math
General Constants. More...

Go to the source code of this file.

Defines

#define CHAI_PI   3.14159265358979323846
 PI constant.
#define CHAI_PI_DIV_2   1.57079632679489661923
 PI constant divided by two.
#define CHAI_DEG2RAD   0.01745329252
 Conversion from degrees to radians.
#define CHAI_RAD2DEG   57.2957795131
 Conversion from radians to degrees.
#define CHAI_TINY   1e-49
 Smallest value near zero for a double.
#define CHAI_SMALL   0.000000001
 Small value near zero.
#define CHAI_LARGE   1e+49
 Biggest value for a double.
#define CHAI_LARGE_FLOAT   1e37
 Biggest value for a float.
#define CHAI_VECTOR_ZERO   cVector3d(0, 0, 0);
 Zero vector (0,0,0).
#define CHAI_VECTOR_X   cVector3d(1, 0, 0);
 Unit vector along Axis X (1,0,0).
#define CHAI_VECTOR_Y   cVector3d(0, 1, 0);
 Unit vector along Axis Y (0,1,0).
#define CHAI_VECTOR_Z   cVector3d(0, 0, 1);
 Unit vector along Axis Z (0,0,1).
#define CHAI_ORIGIN   cVector3d(0, 0, 0);
 Origin (0,0,0).


Detailed Description

Math
General Constants.



CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.