From ffc19020b9a9634001cc566b0474e7a153a577fe Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 6 Nov 2023 15:57:30 -0800 Subject: [PATCH] unused var --- 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 c6a756a..d72167e 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -334,7 +334,7 @@ impl TransformedMesh<'_>{ //check each face let mut best_time=time_limit; let mut best_face=None; - for &(edge_id,face_id) in self.mesh.face_edges(face_id).iter(){ + for &(_,face_id) in self.mesh.face_edges(face_id).iter(){ let (n,d)=self.face_nd(face_id); for t in crate::zeroes::zeroes2((n.dot(body.position)-d)*2,n.dot(body.velocity)*2,n.dot(body.acceleration)){ let t=body.time+crate::integer::Time::from(t);