Utility class for common geometric functions.
CalculateBounds | Calculates the bounding box from the given array of positions and the transformation matrix. |
CalculateFrustumPlanes | Calculates frustum planes. |
TestPlanesAABB | Returns true if bounds are inside the plane array. |
TryCreatePlaneFromPolygon | Creates a plane from a given list of vertices. Works for concave polygons and polygons that have multiple aligned vertices. |