nanos world API Reference Unofficial documentation
Static function Shared Native

math.acos

Return the inverse cosine in radians of the given value.

Syntax

Lua
math.acos(cos)

Parameters

Name Type Default Description
cos number Cosine value in range of -1 to 1.

Returns

  • number