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))) }, } }