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