Category: Arithmetics
Since engine version: 1.0 OC
Sin
Description
Returns sin(angle) * radius.
Syntax
int Sin(int angle, int radius, int precision);
Parameters
- angle:
- Angle in degrees
- radius:
- Radius
- precision:
- [opt] 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.