1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-27 10:30:36 +00:00

fixup: test removed

This commit is contained in:
Zeno Rogue 2022-12-17 18:00:01 +01:00
parent d5e5e65745
commit 8de0f4e2e4

View File

@ -1689,12 +1689,6 @@ EX transmatrix shift_object(const transmatrix Position, const transmatrix& ori,
transmatrix rot = inverse(map_relative_push(Position * C0)) * Position; transmatrix rot = inverse(map_relative_push(Position * C0)) * Position;
transmatrix urot = unswap_spin(rot); 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); geom3::light_flip(true);
transmatrix T = rgpushxto0(direct_exp(urot * direction)); transmatrix T = rgpushxto0(direct_exp(urot * direction));
geom3::light_flip(false); geom3::light_flip(false);