SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Intersection()

AABB SRL::Math::Types::AABB::Intersection ( const AABB & other) const
inline

Calculate the intersection of two AABBs.

Parameters
otherThe other AABB to intersect with.
Returns
A new AABB representing the intersection, or a zero-sized AABB if no intersection.