Q3Vector3D_Add
You can use the Q3Vector3D_Add function 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
v1 and v2.
DESCRIPTION
The Q3Vector3D_Add function returns, as its function result and in the result parameter, the three-dimensional vector that is the sum of the two vectors v1 and v2. Note that on entry the result parameter can be the same as either v1 or v2 (or both).