mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-08 04:12:50 +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)
|
if(j == 0)
|
||||||
h = tC0(f.V);
|
h = tC0(f.V);
|
||||||
if(j == 1) {
|
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) {
|
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);
|
prepare_for_interpolation(h);
|
||||||
values.push_back(h[i]);
|
values.push_back(h[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user