From 53adc651e5bcd32899affd6554dbce9036cf05c4 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 23 Nov 2023 15:48:45 -0800 Subject: [PATCH] change parity for funsies --- 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 f03f4cb..3380e6f 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -576,7 +576,7 @@ impl MeshQuery for MinkowskiM //faces are listed backwards from the minkowski mesh let e1f=self.mesh1.edge_faces(e1); let v0e=self.mesh0.vert_edges(v0); - Cow::Owned([(e1f[1],true),(e1f[0],false)].map(|(edge_face_id1,face_parity)|{ + Cow::Owned([(e1f[1],false),(e1f[0],true)].map(|(edge_face_id1,face_parity)|{ let mut best_edge=None; let mut best_d=Planar64::ZERO; let edge_face1_n=self.mesh1.face_nd(edge_face_id1).0;