mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-20 11:04:05 +00:00
fixed shift_view_towards in nonisotropic
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user