- Main Page
- Classes
- Files
- Directories

- File List
- File Members

# CConstants.h File Reference

Definitions for often used mathematical constants. More...

## Defines
#define | CHAI_PI 3.14159265358979323846
| PI constant.
#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_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

Definitions for often used mathematical constants.