1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

vr:: ... also hyperboloid in spherical

This commit is contained in:
Zeno Rogue 2020-12-27 17:52:42 +01:00
parent 69e121bd16
commit 266e4e43c4

View File

@ -685,7 +685,7 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
ret[2] = (pconf.alpha + H[2]);
if(pconf.depth_scaling != 1) {
ld v = intval(H, Hypc);
ret *= pow(v, (pconf.depth_scaling-1) / 2);
ret *= pow(v, (pconf.depth_scaling*(sphere?-1:1)-1) / 2);
}
models::apply_vr(ret[2], ret[1]);
break;