C4 Engine Terathon Software C4 Engine API Documentation

• Math Library

API Links
Developer Links

Vector4D::GetVector3D

Defined in:  C4Vector4D.h
Returns a reference to a Vector3D object.
Prototype

Vector3D& GetVector3D(void);

const Vector3D& GetVector3D(voidconst;

Description
The GetVector3D function returns a reference to a Vector3D object that refers to the same data contained in the x, y, and z coordinates of a Vector4D object.