Documentation
›
API Reference
›
Object
›
Math
Cos
Lua
C++
This function returns the cosine of an angle.
Syntax
number
Cos
(number a)
Parameters
a:
an angle in degrees
Returns
Returns the specified angle's cosine.