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

◆ Intersects() [2/3]

bool SRL::Math::Types::Sphere::Intersects ( const Plane & plane) const
inlineoverridevirtual

Tests intersection with plane.

A sphere intersects a plane if any part of it is on the positive side (same side as plane normal).

Parameters
planePlane to test against
Returns
true if sphere intersects positive half-space

Implements SRL::Math::Types::Shape.