| ExtendedMath Methods |
The ExtendedMath type exposes the following members.
| Name | Description | |
|---|---|---|
| AnglesDistance |
Return distance between two angles, in degrees.
For example: AnglesDistance(90, 45) will return 45,
AnglesDistance(1, 360) will return 1, etc..
| |
| DegreeToRadian |
Convert degrees to radians.
| |
| ExtractYawPitchRoll |
Extract yaw, pitch and roll from existing matrix.
| |
| GetLeftVector |
Return a vector pointing to the 'left' side of a given vector.
| |
| GetRightVector |
Return a vector pointing to the 'right' side of a given vector.
| |
| PickBasedOnProbability |
pick a random index based of list of probabilities (array of floats representing chances).
| |
| RadianToDegree |
Convert radians to degrees.
| |
| WrapAngle |
Wrap an angle to be between 0 and 360.
| |
| WrapRadian |
Wrap an radian to be between 0 and 2PI.
|