Function gamer::getCenterRadius

Function Documentation

std::pair<Vector, double> gamer::getCenterRadius(SurfaceMesh &mesh)

Compute the center and radius of the mesh.

Parameters

mesh – The mesh

Returns

The center and radius.