diff --git a/strafe-client/src/model_physics.rs b/strafe-client/src/model_physics.rs index a8c1577..be7382e 100644 --- a/strafe-client/src/model_physics.rs +++ b/strafe-client/src/model_physics.rs @@ -984,7 +984,7 @@ fn is_empty_volume(normals:Vec>>)->bool{ for k in 0..len{ if k!=i&&k!=j{ let d=n.dot(normals[k]).is_negative(); - if let Some(comp)=&d_comp{ + if let &Some(comp)=&d_comp{ // This is testing if d_comp*d < 0 if comp^d{ return true;