20 Adding and Subtracting Points and Vectors
Q3Point3D_Vector3D_Add
function to add a three-dimensional vector to a three-dimensional point.
TQ3Point3D *Q3Point3D_Vector3D_Add ( const TQ3Point3D *point3D, const TQ3Vector3D *vector3D, TQ3Point3D *result);point3D
A three-dimensional point.vector3D
A three-dimensional vector.result
On exit, a three-dimensional point that is the result of addingvector3D
topoint3D
.
Q3Point3D_Vector3D_Add
function returns, as its function result and in the result
parameter, the three-dimensional point that is the result of adding the vector vector3D
to the point point3D
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker