mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
fix(wildlife): the reveal pan eases quadratic out again
The pan used Cesium's QUADRATIC_OUT; through the camera port it took cubicOut, the contract's nearest ease. The contract gains quadraticOut, which Cesium maps to QUADRATIC_OUT and the stub camera computes.
This commit is contained in:
1 parent
4b665147e1
commit
aebb3e79c3
6 files changed
+11
-2
No files matched your search
@@ -255,8 +255,7 @@ export function panWildlifeSighting(viewer, from, to, reducedMotion = false) {
|
||||
roll: pose.roll,
|
||||
},
|
||||
durationS: reducedMotion ? 0 : 0.22,
|
||||
// The contract's nearest ease-out to a quadratic one.
|
||||
easing: 'cubicOut',
|
||||
easing: 'quadraticOut',
|
||||
},
|
||||
);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user