Sack Library Documentation
|
MATHLIB_EXPORT void RotateRel(PTRANSFORM pt, RCOORD rx, RCOORD ry, RCOORD rz);
Parameters |
Description |
PTRANSFORM pt |
transform to rotate |
RCOORD rx |
amount around the x axis to rotate (pitch)(positive is clockwise looking at the object from the right, axis up is moved towards forward ) |
RCOORD ry |
amount around the y axis to rotate (yaw) (positive is counter clockwise, moves right to forward) |
RCOORD rz |
amount around the z axis to rotate (roll) (positive is clockwise, moves up towards right ) |
Updates the current rotation matrix of a transform by a relative amount. Amounts to rotate about the x, y and z axii are given in radians.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|