math.NormalizeAngle

From Garry's Mod
Revision as of 18:09, 15 November 2016 by NeatNit (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 math.NormalizeAngle( )

Description

Normalizes angle, so it returns value between -180 and 180.

Arguments

number angle

The angle to normalize, in degrees.

Returns

number

The normalized angle, in the range of -180 to 180 degrees.
Personal tools
Navigation