mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-27 18:40:35 +00:00
fixed shift_view_towards in smLie
This commit is contained in:
parent
63032a42a2
commit
57b762dfe8
@ -3413,7 +3413,7 @@ EX void shift_view_towards(shiftpoint H, ld l, eShiftMethod sm IS(shift_method(s
|
|||||||
shift_view_by_matrix(rspintox(unshift(H)) * xpush(-l) * spintox(unshift(H)), sm);
|
shift_view_by_matrix(rspintox(unshift(H)) * xpush(-l) * spintox(unshift(H)), sm);
|
||||||
return;
|
return;
|
||||||
case smLie:
|
case smLie:
|
||||||
shift_view(tangent_length(unshift(H)-C0, -l), sm);
|
shift_view(tangent_length(lie_log(H), -l), sm);
|
||||||
return;
|
return;
|
||||||
case smGeodesic:
|
case smGeodesic:
|
||||||
case smProduct: {
|
case smProduct: {
|
||||||
|
Loading…
Reference in New Issue
Block a user