Function bodies::computeBoundingSphere

Function Documentation

void bodies::computeBoundingSphere(const std::vector<const Body*> &bodies, BoundingSphere &mergedSphere)

Compute the bounding sphere for a set of bodies and store the resulting sphere in mergedSphere.