#include <VTFMathlib.h>
Public Member Functions | |
void | Init (vlSingle vX, vlSingle vY, vlSingle vZ) |
Initialise the vector with the three given values. | |
void | Init (void) |
Initialise the vector defaulting all values to zero. | |
Public Attributes | |
vlSingle | x |
Vector value in the X axis. | |
vlSingle | y |
Vector value in the Y axis. | |
vlSingle | z |
Vector value in the Z axis. |
A simple 3D Vector class.
Initialise the vector with the three given values.
void Vector::Init | ( | void | ) | [inline] |
Initialise the vector defaulting all values to zero.