diff --git a/src/model_physics.rs b/src/model_physics.rs index 832feb6..cb7ae3a 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -341,8 +341,8 @@ impl MinkowskiMesh<'_>{ //put some genius code right here instead of this //assume that point is outside the mesh and nonzero //find vertex on mesh0 farthest in point direction - //let fev=FEV::::Vert(self.farthest_vert(point)); - todo!() + let fev=FEV::::Vert(self.farthest_vert(point)); + crate::face_crawler::crawl_fev_dot(fev,self,point) } pub fn predict_collision(&self,relative_body:&crate::physics::Body,time_limit:crate::integer::Time)->Option<(MinkowskiFace,crate::integer::Time)>{ crate::face_crawler::crawl_fev_body(self.closest_fev(relative_body.position),self,relative_body,time_limit)