Math functions (trig). See math/funcs.hh. REMINDERS: Consider using MATH_EXCEPTION() instead of ASSERT().
More...
#include "math/defs_trig.hh"
#include "math/types_trig.hh"
#include "math/funcs_debug.hh"
#include "math/funcs.hh"
Go to the source code of this file.
Detailed Description
Math functions (trig). See math/funcs.hh. REMINDERS: Consider using MATH_EXCEPTION() instead of ASSERT().
- LastChangedDate:
- 2011-09-10 23:54:34 -0400 (Sat, 10 Sep 2011)
- Author:
- Jim E. Brooks http://www.palomino3d.org
Define Documentation
| #define DEG2RAD |
( |
|
DEG |
) |
((DEG) * (degRadRatio)) |
| #define IF_DEG_GT |
( |
|
DEG1, |
|
|
|
DEG2 | |
|
) |
| | (ABS(DEG1) > ABS(DEG2)) |
| #define IF_DEG_LT |
( |
|
DEG1, |
|
|
|
DEG2 | |
|
) |
| | (ABS(DEG1) < ABS(DEG2)) |
| #define IF_RAD_GT |
( |
|
RAD1, |
|
|
|
RAD2 | |
|
) |
| | (ABS(RAD1) > ABS(RAD2)) |
| #define IF_RAD_LT |
( |
|
RAD1, |
|
|
|
RAD2 | |
|
) |
| | (ABS(RAD1) < ABS(RAD2)) |
| #define RAD2DEG |
( |
|
RAD |
) |
((RAD) * (radDegRatio)) |