use bounding_volume::{HasBoundingVolume, AABB}; use bounding_volume::aabb_utils; use shape::ConvexHull; use math::{Isometry, Point}; impl> HasBoundingVolume> for ConvexHull

{ #[inline] fn bounding_volume(&self, m: &M) -> AABB

{ let (min, max) = aabb_utils::point_cloud_aabb(m, self.points()); AABB::new(min, max) } }