fixed shift_view_towards in nonisotropic

This commit is contained in:
Zeno Rogue 2019-08-26 13:50:28 +02:00
parent 599346f436
commit a546b3a62e
1 changed files with 2 additions and 1 deletions

View File

@ -2107,7 +2107,8 @@ EX void shift_view_towards(hyperpoint H, ld l) {
shift_view(tangent_length(H-C0, -l));
else {
hyperpoint ie = inverse_exp(H, iTable, true);
shift_view(tangent_length(lp_apply(ie), -l));
if(prod) ie = lp_apply(ie);
shift_view(tangent_length(ie, -l));
}
}