|
Sack Library Documentation
|
MATHLIB_EXPORT void RotateAround(PTRANSFORM pt, PC_POINT p, RCOORD amount);
|
Parameters |
Description |
|
PTRANSFORM pt |
transform to update |
|
PC_POINT p |
P defines an axis around which the rotation portion of the matrix is rotated by an amount. Can be any arbitrary axis. |
|
RCOORD amount |
an amount to rotate by. |
Rotates a transform around some arbitrary axis. (any line may be used to rotate the transformation's rotation matrix)
coded from http://www.mines.edu/~gmurray/ArbitraryAxisRotation/ArbitraryAxisRotation.html and http://www.siggraph.org/education/materials/HyperGraph/modeling/mod_tran/3drota.htm and http://astronomy.swin.edu.au/~pbourke/geometry/rotate/.
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!
|