20 Adding and Subtracting Points and Vectors

20 Q3Param2D_Vector2D_Add

You can use the Q3Param2D_Vector2D_Add function to add a two-dimensional vector to a two-dimensional parametric point.

TQ3Param2D *Q3Param2D_Vector2D_Add (
const TQ3Param2D *param2D, 
const TQ3Vector2D *vector2D, 
TQ3Param2D *result);
param2D A two-dimensional parametric point.
vector2D A two-dimensional vector.
result On exit, a two-dimensional point that is the result of adding vector2D to param2D.

DESCRIPTION


The Q3Param2D_Vector2D_Add function returns, as its function result and in the result parameter, the two-dimensional parametric point that is the result of adding the vector vector2D to the parametric point param2D.

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