Function Mesh.calcBoundingBox

Calculates the axis-aligned bounding box for the mesh.

void calcBoundingBox();

Sets the boundingBox member based on the furthest vertex extents.