Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...