1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-25 23:40:09 +00:00

SAG shuift_object is now geodesic

This commit is contained in:
Zeno Rogue 2023-01-08 16:00:42 +01:00
parent faee70ec3e
commit a7f95cfe3d

View File

@ -495,10 +495,10 @@ void handle_animation(ld t) {
if(j == 0)
h = tC0(f.V);
if(j == 1) {
h = tC0(shift_object(f.V, f.ori, ztangent(f.front_distance)));
h = tC0(shift_object(f.V, f.ori, ztangent(f.front_distance), smGeodesic));
}
if(j == 2) {
h = tC0(shift_object(f.V, f.ori, ctangent(1, -f.up_distance)));
h = tC0(shift_object(f.V, f.ori, ctangent(1, -f.up_distance), smGeodesic));
}
prepare_for_interpolation(h);
values.push_back(h[i]);