- Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
- Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
- QuickDraw 3D Mathematical Utilities
Adding and Subtracting Points and Vectors
QuickDraw 3D 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.
Subtopics
- Q3Point2D_Vector2D_Add
-
- Q3Param2D_Vector2D_Add
-
- Q3Point3D_Vector3D_Add
-
- Q3Point2D_Vector2D_Subtract
-
- Q3Param2D_Vector2D_Subtract
-
- Q3Point3D_Vector3D_Subtract
-
© Apple Computer, Inc.
11 JUL 1996