RWX: Rotate

Usage

Rotate

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

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

the angle to rotate (in degrees)

See Also

Identity Scale Translate Transform TransformBegin TransformEnd