20 Adding and Subtracting Points and Vectors

20 Q3Point3D_Vector3D_Subtract

You can use the Q3Point3D_Vector3D_Subtract function to subtract a three-dimensional vector from a three-dimensional point.

TQ3Point3D *Q3Point3D_Vector3D_Subtract (
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 subtracting vector3D from point3D.

DESCRIPTION


The Q3Point3D_Vector3D_Subtract function returns, as its function result and in the result parameter, the three-dimensional point that is the result of subtracting the vector vector3D from 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