dsin

Returns the sine of val, where val is in degrees.

Syntax:

dsin(val);


Argument Description
val The angle (in degrees) to return the sine of.


Returns: Real


Description

In a right angled triangle dsin(val) = Opposite / Hypotenuse where "val" is one of the three angles.


Example:

val = dsin(90);

This will set "val" to 1.


Back: Real Number Functions
Next: dtan
© Copyright YoYo Games Ltd. 2018 All Rights Reserved