C4 Engine Terathon Software C4 Engine API Documentation

• Math Library

API Links
Developer Links

Vector3D::GetVector2D

Defined in:  C4Vector3D.h
Returns a reference to a Vector2D object.
Prototype

Vector2D& GetVector2D(void);

const Vector2D& GetVector2D(voidconst;

Description
The GetVector2D function returns a reference to a Vector2D object that refers to the same data contained in the x and y coordinates of a Vector3D object.