C4 Engine
C4 Engine API Documentation

Mesh::TranslateMesh

Defined in:  C4Mesh.h
Translates the geometrical data in a mesh.
Prototype

void TranslateMesh(const Vector3D& translation);

Parameters
translation The translation to apply to the mesh.
Description
The TranslateMesh function translates the contents of a mesh by the offset vector given by the translation parameter. This operation affects the vertex array and plane array.
See Also

Mesh::TransformMesh

Mesh::ScaleMesh