1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-27 02:20:36 +00:00

fixed shift_view_towards in smLie

This commit is contained in:
Zeno Rogue 2023-01-07 11:44:44 +01:00
parent 63032a42a2
commit 57b762dfe8

View File

@ -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: {