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