Built-in functions - math
Note
Functions that enable math operations.
hsMathCos(float)
float hsMathCos(float radian)
Find the cosine.
hsMathSin(float)
float hsMathSin(float radian)
Find the sine.
hsMathTan(float)
float hsMathTan(float radian)
Find the tangent.
hsMathAtan2(float, float)
float hsMathAtan2(float y, float x)
Find the arc tangent of y / x.
hsMathSqrt(float)
float hsMathSqrt(float f)
Find the square root.
hsMathRandom(int)
int hsMathRandom(int n)
Find a random number between 0 and less than n.