From 1a250fe8d63ca4574dd7c3fcaa27512a2e4244f4 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 17 Nov 2023 15:00:25 -0800 Subject: [PATCH] style --- src/model_physics.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/model_physics.rs b/src/model_physics.rs index 279faef..3a797c0 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -518,17 +518,15 @@ impl MeshQuery for MinkowskiM match vert_id{ MinkowskiVert::VertVert(v0,v1)=>{ let mut edges=Vec::new(); - let v0e=self.mesh0.vert_edges(v0); let v1f=self.mesh1.vert_faces(v1); - for &directed_edge_id in v0e.iter(){ + for &directed_edge_id in self.mesh0.vert_edges(v0).iter(){ let n=self.mesh0.directed_edge_n(directed_edge_id); if v1f.iter().any(|&face_id|n.dot(self.mesh1.face_nd(face_id).0)