C4 Engine
C4 Engine API Documentation

Mesh::ScaleMesh

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

void ScaleMesh(const Vector3D& scale);

Parameters
scale The scale to apply to the mesh.
Description
The ScaleMesh function scales the contents of a mesh by the scaling vector given by the scale 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::TransformMesh

Mesh::TranslateMesh