native
floatcos
Syntax
native Float:floatcos(Float:value, anglemode:mode=radian);
Description
Returns the cosine of a given angle
Parameters
| value | The angle to calculate the cosine from |
|---|---|
| mode | What unit of measurement is the angle specified in Defaults to radians |
Note
For available units of measurements(modes) look at the anglemode enum
Return
The cosine of a given angle