nanos world API Reference Unofficial documentation
Static function Shared Native

math.atan

Return the inverse tangent in radians. We can do this by supplying y/x ourselves or we can pass y and x to math.atan to do this for us

Syntax

Lua
math.atan(normal)

Parameters

Name Type Default Description
normal number Tangent value.

Returns

  • number