IDLgrModel::Rotate
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.
Syntax
Obj->[IDLgrModel::]Rotate, Axis, Angle [, /PREMULTIPLY]
Arguments
Axis
A three-element vector of the form [x, y, z] describing the axis about which the model is to be rotated.
Angle
The angle (measured in degrees) by which the rotation is to occur.
Keywords
PREMULTIPLY
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.
Version History
5.0 |
Introduced |
See Also
Translating, Rotating and Scaling Objects, Coordinates of 3D Graphics