Usage
Syntax: sin(float r);
Returns the sine of an angle.
Explanation
In a right triangle, the sine of an angle is the length of the opposite side divided by the length of the hypotenuse.
Note that the angle is in radians, not degrees.
Example
function onCreated() { temp.foo = sin(pi / 2); }
... sets temp.foo to 1.0.
Categories
CategoryFunctionClientside
CategoryFunctionServerside
There are no comments on this page. [Add comment]