use num::Bounded; use bounding_volume::{BoundingSphere, HasBoundingVolume}; use shape::Plane; use math::{Isometry, Point}; impl> HasBoundingVolume> for Plane { #[inline] fn bounding_volume(&self, m: &M) -> BoundingSphere

{ let center = m.translate_point(&P::origin()); let radius = P::Real::max_value(); BoundingSphere::new(center, radius) } }