From 0ad99958a03c817b3b0efacf7fcfc5c252e1efcf Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 20 Nov 2023 19:57:27 -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 65e8bad..f3c2057 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -446,7 +446,7 @@ impl MeshQuery for MinkowskiM let &[e1v0,e1v1]=self.mesh1.edge_verts(e1).borrow(); let n=edge0_n.cross(edge1_n); let e0d=n.dot(self.mesh0.vert(e0v0)+self.mesh0.vert(e0v1)); - let e1d=n.dot(self.mesh0.vert(e1v0)+self.mesh0.vert(e1v1)); + let e1d=n.dot(self.mesh1.vert(e1v0)+self.mesh1.vert(e1v1)); (n*(parity as i64*4-2),(e0d-e1d)*(parity as i64*2-1)) }, MinkowskiFace::FaceVert(f0,v1)=>{