Sin
Category: Arithmetics
Since engine version: 4.6.5.0 CP (extended in 4.9.5.0 CE)
Description
Returns sin(iAngle) * iRadius.
Syntax
int Sin
(int iAngle, int iRadius, int iPrec);
Parameters
- iAngle:
-
Angle in degrees
- iRadius:
-
Radius
- iPrec:
-
[optional] If specified, the angle will be divided by this value. An angle of 445° and a precision value of 10 will thus result in a
more precise angle of 45,5° internally.
springer, April 2002
Clonk-Karl, September 2004