1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00

fixed pointing in nonisotropic

This commit is contained in:
Zeno Rogue 2020-12-31 15:02:10 +01:00
parent 22fb9d1c30
commit be0309c656

View File

@ -671,7 +671,7 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
models::apply_orientation_yz(ret[2], ret[1]);
}
if(nonisotropic) ret = lp_apply(ret);
if(nonisotropic && !vrhr::rendering()) ret = lp_apply(ret);
break;
}
@ -1081,6 +1081,12 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
break;
case mdEquidistant: case mdEquiarea: case mdEquivolume: {
if(vrhr::rendering() && GDIM == 3) {
ret = inverse_exp(H_orig);
ret[3] = 1;
return;
}
if(nonisotropic || prod) {
ret = lp_apply(inverse_exp(H_orig));
ret[3] = 1;