C4 Engine
C4 Engine API Documentation

Vector3D::Set

Defined in:  TSVector3D.h
Sets all three components of a vector.
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.