vr:: ... also hyperboloid in spherical

This commit is contained in:
Zeno Rogue 2020-12-27 17:52:42 +01:00
parent 69e121bd16
commit 266e4e43c4
1 changed files with 1 additions and 1 deletions

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;