Sin

Category: Arithmetics
Since engine version: 1.0 OC

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.
See also: Angle, Cos, Tan
springer, 2002-04
Clonk-Karl, 2004-09