supertux
supertux copied to clipboard
Move frame prediction logic for camera from Sector to Camera
This commit avoids interpolating the camera position when a Camera::move or other discontinuous transition is requested.
Note: jumps in the camera position that are purely driven by changes to Tux's position will continue to be interpolated. (For example, when Tux.set_pos() is called in bonus1/mario.stl.)