#include <nncmath.h>
Static Public Methods | |
void | MathInit () |
double | Sin (degree d) |
double | Cos (degree d) |
double | Tan (degree d) |
double | Sin (radian r) |
double | Cos (radian r) |
double | Tan (radian r) |
radian | ArcSin (double d) |
radian | ArcCos (double d) |
radian | ArcTan (double d) |
double | SRoot (double d) |
Static Public Attributes | |
const double | PI = 3.14159265358979323846 |
const double | TWO_PI = (2 * PI) |
const double | PI_OVER_TWO = (PI / 2) |
Static Private Attributes | |
double | sinTable [SIN_TABLE_SIZE] |
double | cosTable [COS_TABLE_SIZE] |
double | tanTable [TAN_TABLE_SIZE] |
double | arcSinTable [ARC_SIN_TABLE_SIZE] |
double | arcCosTable [ARC_COS_TABLE_SIZE] |
double | arcTanTable [ARC_TAN_TABLE_SIZE] |
double | sRootTable [ROOT_TABLE_SIZE] |
|
Definition at line 164 of file nncmath.cpp. References ARC_COS_DEFAULT_VALUE, arcCosTable, MULTIPLIER, and _radian::value. |
|
Definition at line 147 of file nncmath.cpp. References ARC_SIN_DEFAULT_VALUE, arcSinTable, MULTIPLIER, TWO_PI, and _radian::value. |
|
Definition at line 178 of file nncmath.cpp. References ARC_TAN_DEFAULT_VALUE, arcTanTable, MULTIPLIER, PI_OVER_TWO, and _radian::value. Referenced by MainChar::setLook(). |
|
Definition at line 83 of file nncmath.cpp. References COS_DEFAULT_VALUE, COS_TABLE_SIZE, cosTable, MULTIPLIER, TWO_PI, and _radian::value. |
|
Definition at line 77 of file nncmath.cpp. References PI, _degree::value, and _radian::value. Referenced by MainChar::FireWeapon(), UFO::think(), and BearSpawnPoint::think(). |
|
Definition at line 20 of file nncmath.cpp. References ARC_COS_DEFAULT_VALUE, ARC_COS_TABLE_SIZE, ARC_SIN_DEFAULT_VALUE, ARC_SIN_TABLE_SIZE, ARC_TAN_DEFAULT_VALUE, ARC_TAN_TABLE_SIZE, arcCosTable, arcSinTable, arcTanTable, COS_DEFAULT_VALUE, COS_TABLE_SIZE, cosTable, ROOT_DEFAULT_VALUE, ROOT_TABLE_SIZE, SIN_DEFAULT_VALUE, SIN_TABLE_SIZE, sinTable, sRootTable, TAN_DEFAULT_VALUE, TAN_TABLE_SIZE, and tanTable. Referenced by Application::Application(). |
|
Definition at line 54 of file nncmath.cpp. References MULTIPLIER, SIN_DEFAULT_VALUE, SIN_TABLE_SIZE, sinTable, TWO_PI, and _radian::value. |
|
Definition at line 48 of file nncmath.cpp. References PI, _degree::value, and _radian::value. Referenced by MainChar::FireWeapon(), UFO::think(), and BearSpawnPoint::think(). |
|
Definition at line 197 of file nncmath.cpp. Referenced by Crosshair::think(). |
|
Definition at line 117 of file nncmath.cpp. References MULTIPLIER, PI_OVER_TWO, TAN_DEFAULT_VALUE, TAN_TABLE_SIZE, tanTable, TWO_PI, and _radian::value. |
|
Definition at line 111 of file nncmath.cpp. References PI, _degree::value, and _radian::value. |
|
Definition at line 12 of file nncmath.cpp. Referenced by ArcCos(), and MathInit(). |
|
Definition at line 11 of file nncmath.cpp. Referenced by ArcSin(), and MathInit(). |
|
Definition at line 13 of file nncmath.cpp. Referenced by ArcTan(), and MathInit(). |
|
Definition at line 9 of file nncmath.cpp. Referenced by Cos(), and MathInit(). |
|
Definition at line 15 of file nncmath.cpp. Referenced by Cos(), MainChar::setLook(), Bear::setWalk(), Sin(), Tan(), and BearSpawnPoint::think(). |
|
Definition at line 17 of file nncmath.cpp. |
|
Definition at line 8 of file nncmath.cpp. Referenced by MathInit(), and Sin(). |
|
Definition at line 14 of file nncmath.cpp. Referenced by MathInit(). |
|
Definition at line 10 of file nncmath.cpp. Referenced by MathInit(), and Tan(). |
|
Definition at line 16 of file nncmath.cpp. Referenced by ArcSin(), Cos(), MainChar::FireWeapon(), Sin(), and Tan(). |