MathHelper Methods |
The MathHelper type exposes the following members.
Name | Description | |
---|---|---|
Accelerate(Single) |
Accelerates the specified value with a pow of 1.5.
| |
Accelerate(Single, Single) |
Accelerates the specified value with a pow of value factor.
| |
Acos |
Gets the principal value of the arc cosine of a, expressed in radians.
| |
Atan2 |
Gets the principal value of the arc tangent of y/x, expressed in radians.
| |
Clamp(Int32, Int32, Int32) |
Clamp the specified int value v between min and max.
| |
Clamp(Single, Single, Single) |
Clamp the specified float value v between min and max.
| |
Cos |
Gets the cosine of an angle of a radians.
| |
DegreeToRadian |
Convert the angle from degrees to radians.
| |
Maximum(Int32, Int32) |
Gets the maximum integer value between a and b.
| |
Maximum(Single, Single) |
Gets the maximum float value between a and b.
| |
Minimum(Int32, Int32) |
Gets the minimum integer value between a and b.
| |
Minimum(Single, Single) |
Gets the minimum float value between a and b.
| |
RadianToDegree |
Convert the angle from radians to degrees.
| |
Sin |
Gets the sine of an angle of a radians.
| |
Sqrt |
Gets the square root of a.
| |
Tan |
Gets the tangent of an angle of a radians.
|