20 Adding and Subtracting Points and Vectors

20 Q3Point3D_Vector3D_Add

You can use the Q3Point3D_Vector3D_Add function to add a three-dimensional vector to a three-dimensional point.

TQ3Point3D *Q3Point3D_Vector3D_Add (
const TQ3Point3D *point3D, 
const TQ3Vector3D *vector3D, 
TQ3Point3D *result);
point3D A three-dimensional point.
vector3D A three-dimensional vector.
result On exit, a three-dimensional point that is the result of adding vector3D to point3D.

DESCRIPTION


The Q3Point3D_Vector3D_Add function returns, as its function result and in the result parameter, the three-dimensional point that is the result of adding the vector vector3D to the point point3D.

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