DoRotate(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoRotate − Create a rotation geometric transformation object
SYNOPSIS
C:
DtObject DoRotate(axis, radians)
DtAxis axis;
DtReal radians;
Fortran:
INTEGER∗4 DOROT(AXIS, RADIAN)
INTEGER∗4 AXIS
REAL∗8 RADIAN
DESCRIPTION
DoRotate creates a rotation geometric transformation object that modifies the current transformation matrix attribute.
The parameter axis specifies the coordinate axis about which the rotation is to take place. Possible values are:
DcXAxis <DCXAX>
DcYAxis <DCYAX>
DcZAxis <DCZAX>
The parameter radians specifies the angle of rotation. It may take any positive or negative floating point value. Positive rotations are determined by the right-hand rule; when looking down a given axis from the direction of positive infinity towards the origin, positive rotations are counterclockwise.
SEE ALSO
DoLookAtFrom(3D), DoScale(3D), DoShear(3D), DoTransformMatrix(3D), DoTranslate(3D)
September 29, 2021