20 QuickDraw3D Mathematical Utilities

20 Adding and Subtracting Points and Vectors

QuickDraw3D provides routines that you can use to add a vector to a point or subtract a vector from a point. For increased floating-point precision, it is better to use the vector-point subtraction routines than to reverse a vector and then add it to a point.

20 - Q3Point2D_Vector2D_Add
20 - Q3Param2D_Vector2D_Add
20 - Q3Point3D_Vector3D_Add
20 - Q3Point2D_Vector2D_Subtract
20 - Q3Param2D_Vector2D_Subtract
20 - Q3Point3D_Vector3D_Subtract

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