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