beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
210 stars 100 forks source link

[OverheadController] Configure min height zoom #1578

Open badosu opened 3 months ago

badosu commented 3 months ago

See: https://github.com/beyond-all-reason/spring/blob/0daacfd6f06f33a8f7b19bdfaeae7c2e61790976/rts/Game/Camera/OverheadController.cpp#L143

Games with high min zoom but low max height zoom can get weird zooming in/out mechanics if the scroll delta is high enough.