Difference between revisions of "Math Script"
Jump to navigation
Jump to search
imported>Jog |
imported>Cipscis (→Global Functions: Fixed descriptions of "Ceiling" and "Floor") |
||
Line 27: | Line 27: | ||
'''int Function [[Ceiling - Math|Ceiling]](float afValue)''' | '''int Function [[Ceiling - Math|Ceiling]](float afValue)''' | ||
*Calculates the smallest | *Calculates the smallest integer greater than or equal to the value. | ||
'''float Function [[cos - Math|cos]](float afValue)''' | '''float Function [[cos - Math|cos]](float afValue)''' | ||
Line 36: | Line 36: | ||
'''int Function [[Floor - Math|Floor]](float afValue)''' | '''int Function [[Floor - Math|Floor]](float afValue)''' | ||
*Calculates the largest | *Calculates the largest integer less than or equal to the value. | ||
'''float Function [[pow - Math|pow]](float x, float y)''' | '''float Function [[pow - Math|pow]](float x, float y)''' |
Revision as of 17:11, 21 February 2012
Collection of generic math-related global functions
Definition
ScriptName Math
Properties
None
Global Functions
float Function abs(float afValue)
- Calculates the absolute value of its parameter.
float Function acos(float afValue)
- Calculates the arccosine of its value (returns degrees).
float Function asin(float afValue)
- Calculates the arcsine of its value (returns degrees).
float Function atan(float afValue)
- Calculates the arctangent of its value (returns degrees).
int Function Ceiling(float afValue)
- Calculates the smallest integer greater than or equal to the value.
float Function cos(float afValue)
- Calculates the cosine of it's value (in degrees).
float Function DegreesToRadians(float afDegrees)
- Converts its argument in degrees to radians.
int Function Floor(float afValue)
- Calculates the largest integer less than or equal to the value.
float Function pow(float x, float y)
- Raises x to the y power.
float Function RadiansToDegrees(float afRadians)
- Converts its argument in radians to degrees.
float Function sin(float afValue)
- Calculates the sine of its argument (in degrees).
float Function sqrt(float afValue)
- Calculates the square root of its argument.
float Function tan(float afValue)
- Calculates the tangent of its value (in degrees).
Member Functions
None
Events
None