Garry's Mod Wiki

math.NormalizeAngle

math.NormalizeAngle

number math.NormalizeAngle( number angle )

Description

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

Arguments

1 number angle
The angle to normalize, in degrees.

Returns

1 number
The normalized angle, in the range of -180 to 180 degrees.

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6