C4 Engine
C4 Engine API Documentation

Mesh::TransformMesh

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

void TransformMesh(const Transform4D& transform);

Parameters
transform The transform to apply to the mesh.
Description
The TransformMesh function transforms the contents of a mesh by the matrix given by the transform parameter. This operation affects the vertex array, normal array, and plane array. Any existing tangent array must be recalculated after this operation is applied.
See Also

Mesh::TranslateMesh

Mesh::ScaleMesh