From a5437c87df894adc21b738493ce49dbe8c009c19 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 17 Nov 2023 17:47:31 -0800 Subject: [PATCH] wrong --- src/model_physics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model_physics.rs b/src/model_physics.rs index 6126c00..c55d3de 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -433,7 +433,7 @@ impl MeshQuery for MinkowskiM }, MinkowskiFace::FaceVert(f0,v1)=>{ let (n,d)=self.mesh0.face_nd(f0); - (n,d+n.dot(self.mesh1.vert(v1))) + (n,d-n.dot(self.mesh1.vert(v1))) }, } }