The IDLgrModel::Rotate procedure method rotates the model about the specified axis by the specified angle. IDL computes and maintains the resulting transform matrix in double-precision floating-point.
Obj->[IDLgrModel::]Rotate, Axis, Angle [, /PREMULTIPLY]
A three-element vector of the form [x, y, z] describing the axis about which the model is to be rotated.
The angle (measured in degrees) by which the rotation is to occur.
Set this keyword to cause the rotation matrix specified by Axis and Angle to be pre-multiplied to the model’s transformation matrix. By default, the rotation matrix is post-multiplied.
Translating, Rotating and Scaling Objects