nanos world API Reference Unofficial documentation
Static function Shared

NanosMath.NormalizeAxis

Clamps an angle to the range of [-180, 180]

Syntax

Lua
NanosMath.NormalizeAxis(value)

Parameters

Name Type Default Description
value number The number to be clamped

Returns

  • number the number clamped