20 Adding and Subtracting Points and Vectors
Q3Point2D_Vector2D_Subtract
function to subtract a two-dimensional vector from a two-dimensional point.
TQ3Point2D *Q3Point2D_Vector2D_Subtract ( const TQ3Point2D *point2D, const TQ3Vector2D *vector2D, TQ3Point2D *result);point2D
A two-dimensional point.vector2D
A two-dimensional vector.result
On exit, a two-dimensional point that is the result of subtractingvector2D
frompoint2D
.
Q3Point2D_Vector2D_Subtract
function returns, as its function result and in the result
parameter, the two-dimensional point that is the result of subtracting the vector vector2D
from the point point2D
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker