use function that doesn't exist for MinkowskiMesh::closest_fev
This commit is contained in:
parent
559a38b607
commit
f50670db57
@ -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::<MinkowskiFace,MinkowskiEdge,MinkowskiVert>::Vert(self.farthest_vert(point));
|
||||
todo!()
|
||||
let fev=FEV::<MinkowskiFace,MinkowskiEdge,MinkowskiVert>::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)
|
||||
|
Loading…
Reference in New Issue
Block a user