PxOptimizeBoundingBox

Defined in include/foundation/PxMathUtils.h

PxVec3 PxOptimizeBoundingBox(PxMat33 &basis)

computes a oriented bounding box around the scaled basis.

Parameters

basis – Input = skewed basis, Output = (normalized) orthogonal basis.

Returns

Bounding box extent.