Garry's Mod Wiki


  Angle:RotateAroundAxis( Vector axis, number rotation )


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


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.