Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::math::vector::RotateRel Function
C++
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.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!