Cos
Category: Arithmetics
Since engine version: 5.1 OC
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.
See also: Angle,
Sin,
Tan
springer, 2002-04
Clonk-Karl, 2004-09