float Maths.Sin(float radians)
Calculates the sine of the specified angle (in radians).
To convert an angle in degrees to radians, use Maths.DegreesToRadians.
Example:
float sine = Maths.Sin(Maths.DegreesToRadians(360.0));
calculates the cosine of 360 degrees (which is 0) and places it into variable sine.
See Also: Maths.ArcSin,
Maths.DegreesToRadians,
Maths.Cos, Maths.Tan
|