The VMath type exposes the following members.
Fields
| Name | Description | |
|---|---|---|
| CycToDeg |
Conversion factor from radians to degree, 360
| |
| CycToRad |
Conversion factor from cycles to radians, (2 * Pi)
| |
| DegToCyc |
Conversion factor from degree to radians, 1/360
| |
| DegToRad |
Conversion factor from degree to radians, (2 * Pi)/360
| |
| IdentityMatrix |
Identity matrix
1000
0100
0010
0001
| |
| Pi |
Pi, as you know it
| |
| PiRez |
1 / Pi, multiply by this if you have to divide by Pi
| |
| RadToCyc |
Conversion factor from radians to cycles, 1/(2 * Pi)
| |
| RadToDeg |
Conversion factor from radians to degree, 360/(2 * Pi)
| |
| Random |
A random object for conveninece
| |
| TwoPi |
Pi * 2
| |
| TwoPiRez |
2 / Pi, multiply by this if you have to divide by 2*Pi
|