Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
axisAlignedBoundingBox :: Solid -> Maybe (V3 Double, V3 Double) Source #
Return the smallest Axis Aligned Bounding Box (AABB) that contains the Solid.
If computable, the AABB is returned in the form '(lo, hi)',
where lo
is the vertex of the box with the lowest individual values,
and hi
is the vertex with the highest values.