use bounding_volume::{HasBoundingVolume, AABB}; use bounding_volume; use shape::{Capsule, Cone, Cylinder}; use shape::{Segment, Triangle}; use math::{Isometry, Point}; impl> HasBoundingVolume> for Cone { #[inline] fn bounding_volume(&self, m: &M) -> AABB

{ bounding_volume::support_map_aabb(m, self) } } impl> HasBoundingVolume> for Cylinder { #[inline] fn bounding_volume(&self, m: &M) -> AABB

{ bounding_volume::support_map_aabb(m, self) } } impl> HasBoundingVolume> for Capsule { #[inline] fn bounding_volume(&self, m: &M) -> AABB

{ bounding_volume::support_map_aabb(m, self) } } impl> HasBoundingVolume> for Triangle

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

{ // FIXME: optimize that bounding_volume::support_map_aabb(m, self) } } impl> HasBoundingVolume> for Segment

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

{ // FIXME: optimize that bounding_volume::support_map_aabb(m, self) } }