From c971ab24e2b18d2bc2e8b96fa964432e6f51cbe5 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 22 Nov 2023 19:27:23 -0800 Subject: [PATCH] TEMP: disallow 0 time collisions --- src/face_crawler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/face_crawler.rs b/src/face_crawler.rs index 19d9b86..0a50370 100644 --- a/src/face_crawler.rs +++ b/src/face_crawler.rs @@ -22,7 +22,7 @@ enum Transition{ let (n,d)=mesh.face_nd(face_id); for t in zeroes2((n.dot(body.position)-d)*2,n.dot(body.velocity)*2,n.dot(body.acceleration)){ let t=body.time+Time::from(t); - if time<=t&&t