mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixed pointing in nonisotropic
This commit is contained in:
parent
22fb9d1c30
commit
be0309c656
@ -671,7 +671,7 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
|
|||||||
models::apply_orientation_yz(ret[2], ret[1]);
|
models::apply_orientation_yz(ret[2], ret[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(nonisotropic) ret = lp_apply(ret);
|
if(nonisotropic && !vrhr::rendering()) ret = lp_apply(ret);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1081,6 +1081,12 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case mdEquidistant: case mdEquiarea: case mdEquivolume: {
|
case mdEquidistant: case mdEquiarea: case mdEquivolume: {
|
||||||
|
if(vrhr::rendering() && GDIM == 3) {
|
||||||
|
ret = inverse_exp(H_orig);
|
||||||
|
ret[3] = 1;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(nonisotropic || prod) {
|
if(nonisotropic || prod) {
|
||||||
ret = lp_apply(inverse_exp(H_orig));
|
ret = lp_apply(inverse_exp(H_orig));
|
||||||
ret[3] = 1;
|
ret[3] = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user