This commit is contained in:
vis2k 2023-03-16 12:05:48 +08:00
parent e192a8da2b
commit 3478c29e40

View File

@ -35,6 +35,9 @@ public static class SnapshotInterpolation
// slowdown/catchup: timescale becomes +-1%, timeline steps with it.
// clamp: don't allow timeline to go too far ahead/behind. clamp hard.
//
// and only catch up / slow down for a little bit occasionally.
// a consistent multiplier would never be exactly 1.0.
//
// note that slowdown/catchup is not enough, we also need to clamp:
// clamp timeline for cases where it gets too far behind.
// for example, a client app may go into the background and get updated