Method | Description | |
---|---|---|
Atan2 ( float y, float x ) : float |
Returns atan2 in radians, faster but less accurate than Math.Atan2. Average error of 0.00231 radians (0.1323 degrees), largest error of 0.00488 radians (0.2796 degrees).
|
|
Clamp ( float value, float min, float max ) : float | ||
Cos ( float radians ) : float |
Returns the cosine in radians from a lookup table.
|
|
CosDeg ( float degrees ) : float |
Returns the cosine in radians from a lookup table.
|
|
Sin ( float radians ) : float |
Returns the sine in radians from a lookup table.
|
|
SinDeg ( float degrees ) : float |
Returns the sine in radians from a lookup table.
|
Method | Description | |
---|---|---|
MathUtils ( ) : System |
static public Atan2 ( float y, float x ) : float | ||
y | float | |
x | float | |
return | float |
static public Clamp ( float value, float min, float max ) : float | ||
value | float | |
min | float | |
max | float | |
return | float |
static public CosDeg ( float degrees ) : float | ||
degrees | float | |
return | float |
static public SinDeg ( float degrees ) : float | ||
degrees | float | |
return | float |