20 Managing Quaternions

20 Q3Point3D_TransformQuaternion

You can use the Q3Point3D_TransformQuaternion function to transform a point by a quaternion.

TQ3Point3D *Q3Point3D_TransformQuaternion (
const TQ3Point3D *point, 
const TQ3Quaternion *quaternion, 
TQ3Point3D *result);
point A three-dimensional point.
quaternion A quaternion.
result On exit, a three-dimensional point that is the result of transforming the specified point by the specified quaternion.

DESCRIPTION


The Q3Point3D_TransformQuaternion function returns, as its function result and in the result parameter, a three-dimensional point that is the result of transforming the point specified by the point parameter using the quaternion specified by the quaternion parameter.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker