unused var

This commit is contained in:
Quaternions 2023-11-06 15:57:30 -08:00
parent e0581390bd
commit ffc19020b9

View File

@ -334,7 +334,7 @@ impl TransformedMesh<'_>{
//check each face //check each face
let mut best_time=time_limit; let mut best_time=time_limit;
let mut best_face=None; 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); 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)){ 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); let t=body.time+crate::integer::Time::from(t);