Garry's Mod Wiki

Angle:Normalize

Angle:Normalize()

Description

Normalizes the angles by applying a module with 360 to pitch, yaw and roll.

Example

Example usage of the function

local a = Angle( 0, 181, 1 ) a:Normalize() print( a )
Output: 0.000 -179.000 1.000

Page Links


Special Pages


Wikis

?

Render Time: 24ms

Session 0
DB GetPage 2
Generate Html 0
SaveChanges 8
Render Body 0
Render Sidebar 12