Category: Arithmetics
Since engine version: 1.0 OC
Cos
Description
Returns cos(angle) * radius.
Syntax
int Cos(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.