From 8de0f4e2e47846bc63a2b5d72f4d68102b6afd9f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 17 Dec 2022 18:00:01 +0100 Subject: [PATCH] fixup: test removed --- hyperpoint.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hyperpoint.cpp b/hyperpoint.cpp index 8ce3cee0..2d1ba261 100644 --- a/hyperpoint.cpp +++ b/hyperpoint.cpp @@ -1689,12 +1689,6 @@ EX transmatrix shift_object(const transmatrix Position, const transmatrix& ori, transmatrix rot = inverse(map_relative_push(Position * C0)) * Position; transmatrix urot = unswap_spin(rot); - if(!eqmatrix( cspin(0, 1, 30*degree) , unswap_spin(spin(30*degree)) )) { - println(hlog, cspin(0, 1, 30*degree)); - println(hlog, unswap_spin(spin(30*degree))); - throw hr_exception("unswap_spin not working correctly"); - } - geom3::light_flip(true); transmatrix T = rgpushxto0(direct_exp(urot * direction)); geom3::light_flip(false);