From f50670db57efc53225418a6eb22a68f12bc14518 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 15 Nov 2023 21:05:55 -0800 Subject: [PATCH] use function that doesn't exist for MinkowskiMesh::closest_fev --- src/model_physics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)