20 Transforming Points and Vectors

20 Q3Point3D_Transform

You can use the Q3Point3D_Transform function to apply a transform to a three-dimensional point.

TQ3Point3D *Q3Point3D_Transform (
const TQ3Point3D *point3D, 
const TQ3Matrix4x4 *matrix4x4, 
TQ3Point3D *result);
point3D A three-dimensional point.
matrix4x4 A 4-by-4 matrix.
result On exit, the point that is the result of multiplying point3D by matrix4x4.

DESCRIPTION


The Q3Point3D_Transform function returns, as its function result and in the result parameter, the point that is the result of multiplying the point point3D by the matrix transform matrix4x4. Note that on entry the result parameter can be the same as the point3D 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