C4 Engine
C4 Engine API Documentation

Box3D::Calculate

Defined in:  TSBox.h
Calculates a bounding box for a set of vertices.
Prototype

void Calculate(int32 vertexCount, const Point3D *vertex);

Parameters
vertexCount The number of vertices. This must be at least 1.
vertex A pointer to the array of vertex positions.
Description
The Calculate function calculates the aligned bounding box for an array of vertices.