The VMath type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberCycToDeg
Conversion factor from radians to degree, 360
Public fieldStatic memberCycToRad
Conversion factor from cycles to radians, (2 * Pi)
Public fieldStatic memberDegToCyc
Conversion factor from degree to radians, 1/360
Public fieldStatic memberDegToRad
Conversion factor from degree to radians, (2 * Pi)/360
Public fieldStatic memberIdentityMatrix
Identity matrix 1000 0100 0010 0001
Public fieldStatic memberPi
Pi, as you know it
Public fieldStatic memberPiRez
1 / Pi, multiply by this if you have to divide by Pi
Public fieldStatic memberRadToCyc
Conversion factor from radians to cycles, 1/(2 * Pi)
Public fieldStatic memberRadToDeg
Conversion factor from radians to degree, 360/(2 * Pi)
Public fieldStatic memberRandom
A random object for conveninece
Public fieldStatic memberTwoPi
Pi * 2
Public fieldStatic memberTwoPiRez
2 / Pi, multiply by this if you have to divide by 2*Pi

See Also