Acos - Math
Revision as of 14:10, 2 December 2015 by imported>Plplecuyer
Member of: Math Script
Calculates the arccosine of the value it is given. The returned value is in degrees.
Syntax[edit | edit source]
float Function acos(float afValue) native global
Parameters[edit | edit source]
- afValue: The value to get the arccosine of. This value must be no greater than 1, and no less then -1.
Return Value[edit | edit source]
The arccosine of the passed-in value, in degrees.
Examples[edit | edit source]
float x = acos(0) ; x == 90
float y = acos(-1) ; y == 180