diff --git a/src/physics.rs b/src/physics.rs index 0661365..ed0b337 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -657,16 +657,16 @@ impl PhysicsModel{ } #[derive(Debug,Clone,Eq,Hash,PartialEq)] -struct ContactCollision{ +pub struct ContactCollision{ face_id:model_physics::MinkowskiFace, convex_mesh_id:ConvexMeshId, } #[derive(Debug,Clone,Eq,Hash,PartialEq)] -struct IntersectCollision{ +pub struct IntersectCollision{ convex_mesh_id:ConvexMeshId, } #[derive(Debug,Clone,Eq,Hash,PartialEq)] -enum Collision{ +pub enum Collision{ Contact(ContactCollision), Intersect(IntersectCollision), }