math.acos

From Garry's Mod
Jump to: navigation, search
 math.acos( )

Description

Returns the arc cosine of the given number.

Arguments

number cos

Cosine value in range of -1 to 1.

Returns

number

An angle in radians, between 0 and pi, which has the given cos value.

nan if the argument is out of range.
Personal tools
Navigation