r0mai/car-game — pull request #44 by petersohn (2014-07-21 21:29:56+00:00)
Title: Improved zooming and panning

- Set minimum and maximum ppm (pixels per meter) when starting the game.
- Try to fit the track between these ppm values.
- Recalculate view parameters at every redraw so window resizing works fine.