Stateful wrapper around selectLevel that resists flapping.
A camera nudged near the boundary between two levels would otherwise swap
back and forth every frame, rebuilding the whole layer each time. The
selector keeps its current level until that level is off target by more than
deadband octaves.
Stateful wrapper around selectLevel that resists flapping.
A camera nudged near the boundary between two levels would otherwise swap back and forth every frame, rebuilding the whole layer each time. The selector keeps its current level until that level is off target by more than
deadbandoctaves.