Q3Vector3D_Add
You can use theQ3Vector3D_Addfunction to add two three-dimensional vectors.
TQ3Vector3D *Q3Vector3D_Add ( const TQ3Vector3D *v1, const TQ3Vector3D *v2, TQ3Vector3D *result);
v1- A three-dimensional vector.
v2- A three-dimensional vector.
result- On exit, the sum of
v1andv2.DESCRIPTION
TheQ3Vector3D_Addfunction returns, as its function result and in theresultparameter, the three-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