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:
parent
faee70ec3e
commit
a7f95cfe3d
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user