From 327ba10fb46ec6158899cb27d399b40ed00a8dc2 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 17 Sep 2024 15:56:26 -0700 Subject: [PATCH] already 8 --- src/model_physics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model_physics.rs b/src/model_physics.rs index 4bc1284..87a44c2 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -856,7 +856,7 @@ impl MeshQuery for MinkowskiM let edge0_nn=edge0_n.dot(edge0_n); // Assume not every number is huge // TODO: revisit this - let dd=(d*d).fix_8()/(edge_face1_nn*edge0_nn).fix_8(); + let dd=(d*d)/(edge_face1_nn*edge0_nn); if best_d for MinkowskiM let d=edge_face0_n.dot(edge1_n); if d.is_negative(){ let edge1_nn=edge1_n.dot(edge1_n); - let dd=(d*d).fix_8()/(edge_face0_nn*edge1_nn).fix_8(); + let dd=(d*d)/(edge_face0_nn*edge1_nn); if best_d