Q3Vector3D_Subtract
You can use theQ3Vector3D_Subtractfunction to subtract a three-dimensional vector from a three-dimensional vector.
TQ3Vector3D *Q3Vector3D_Subtract ( const TQ3Vector3D *v1, const TQ3Vector3D *v2, TQ3Vector3D *result);
v1- A three-dimensional vector.
v2- A three-dimensional vector.
result- On exit, the result of subtracting
v2fromv1.DESCRIPTION
TheQ3Vector3D_Subtractfunction returns, as its function result and in theresultparameter, the three-dimensional vector that is the result of subtracting vectorv2from vectorv1. Note that on entry theresultparameter can be the same as eitherv1orv2(or both).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help