Q3Vector2D_Set
You can use theQ3Vector2D_Setfunction to set the scalar components of a two-dimensional vector.
TQ3Vector2D *Q3Vector2D_Set ( TQ3Vector2D *vector2D, float x, float y);
vector2D- A two-dimensional vector.
x- The x scalar component of the vector.
y- The y scalar component of the vector.
DESCRIPTION
TheQ3Vector2D_Setfunction returns, as its function result and in thevector2Dparameter, the two-dimensional vector whose scalar components are specified by thexandyparameters.