Rotate


Usage

Rotate <x> <y> <z> <angle>

Description

This command rotates the current transformation matrix by the given angle around the given vector. Some useful rotation vectors are:

1 0 0 - rotates around the X axis
0 1 0 - rotates around the Y axis
0 0 1 - rotates around the Z axis

Arguments

<x> <y> <z> the (x,y,z) components of the vector to rotate around

<angle> the angle to rotate (in degrees)

See Also

Identity
Scale
Translate
Transform
TransformBegin
TransformEnd