Garry's Mod Wiki

Angle:RotateAroundAxis

Angle:RotateAroundAxis

  Angle:RotateAroundAxis( Vector axis, number rotation )

Description

Rotates the angle around the specified axis by the specified degrees.

Arguments

1 Vector axis
The axis to rotate around as a normalized unit vector. When argument is not a unit vector, you will experience numerical offset errors in the rotated angle.
2 number rotation
The degrees to rotate around the specified axis.

Special Pages


Wikis

?

Render Time: 50ms

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