This commit is contained in:
Quaternions 2023-11-17 17:47:31 -08:00
parent a4ea566c02
commit a5437c87df

View File

@ -433,7 +433,7 @@ impl MeshQuery<MinkowskiFace,MinkowskiDirectedEdge,MinkowskiVert> for MinkowskiM
}, },
MinkowskiFace::FaceVert(f0,v1)=>{ MinkowskiFace::FaceVert(f0,v1)=>{
let (n,d)=self.mesh0.face_nd(f0); let (n,d)=self.mesh0.face_nd(f0);
(n,d+n.dot(self.mesh1.vert(v1))) (n,d-n.dot(self.mesh1.vert(v1)))
}, },
} }
} }