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