From 9a2b03324139f3fb81b7cfd9b591af1c51b921ab Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 17 Nov 2023 18:40:28 -0800 Subject: [PATCH] include edges with zero dot to support crawling flush minkowksi faces --- 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 7647672..65e8bad 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -556,14 +556,14 @@ impl MeshQuery for MinkowskiM let v1f=self.mesh1.vert_faces(v1); for &directed_edge_id in self.mesh0.vert_edges(v0).iter(){ let n=self.mesh0.directed_edge_n(directed_edge_id); - if v1f.iter().any(|&face_id|n.dot(self.mesh1.face_nd(face_id).0)