mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 15:20:27 +00:00
fixed shift_view_towards in nonisotropic
This commit is contained in:
parent
599346f436
commit
a546b3a62e
@ -2107,7 +2107,8 @@ EX void shift_view_towards(hyperpoint H, ld l) {
|
|||||||
shift_view(tangent_length(H-C0, -l));
|
shift_view(tangent_length(H-C0, -l));
|
||||||
else {
|
else {
|
||||||
hyperpoint ie = inverse_exp(H, iTable, true);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user