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:
Sameh Khamis committed 2026-11-14 01:37:24 -08:00
1 parent 4b665147e1
commit aebb3e79c3
6 files changed
+11 -2

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ const EASINGS = {
cubicInOut: (t) => (t < 0.5 ? 4 * t * t * t : 1 - (-2 * t + 2) ** 3 / 2),
quinticInOut: (t) => (t < 0.5 ? 16 * t ** 5 : 1 - (-2 * t + 2) ** 5 / 2),
cubicOut: (t) => (t - 1) ** 3 + 1,
quadraticOut: (t) => t * (2 - t),
sineInOut: (t) => 0.5 * (1 - Math.cos(Math.PI * t)),
};