Q3Vector2D_Add
You can use theQ3Vector2D_Addfunction to add two two-dimensional vectors.
TQ3Vector2D *Q3Vector2D_Add ( const TQ3Vector2D *v1, const TQ3Vector2D *v2, TQ3Vector2D *result);
v1- A two-dimensional vector.
v2- A two-dimensional vector.
result- On exit, the sum of
v1andv2.DESCRIPTION
TheQ3Vector2D_Addfunction returns, as its function result and in theresultparameter, the two-dimensional vector that is the sum of the two vectorsv1andv2. 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