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

{ let center = na::origin(); let radius = Bounded::max_value(); // FIXME: is this a good idea? BoundingSphere::new(center, radius) } }