Q3Vector2D_Subtract
You can use theQ3Vector2D_Subtractfunction to subtract a two-dimensional vector from a two-dimensional vector.
TQ3Vector2D *Q3Vector2D_Subtract ( const TQ3Vector2D *v1, const TQ3Vector2D *v2, TQ3Vector2D *result);
v1- A two-dimensional vector.
v2- A two-dimensional vector.
result- On exit, the result of subtracting
v2fromv1.DESCRIPTION
TheQ3Vector2D_Subtractfunction returns, as its function result and in theresultparameter, the two-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