Vector2D::Set
Defined in: C4Vector2D.h
Sets both components of a vector.
Prototype
Vector2D& Set(float r, float s);
Parameters
r |
The new x coordinate.
|
s |
The new y coordinate.
|
Description
The Set function sets the x and y coordinates of a vector to the values given by the r and s parameters, respectively.
The return value is a reference to the vector object.
|