diff options
author | Ryan Roden-Corrent <ryan@rcorre.net> | 2021-11-08 17:53:35 -0500 |
---|---|---|
committer | Ryan Roden-Corrent <ryan@rcorre.net> | 2021-11-09 06:50:39 -0500 |
commit | 3bd7c4f2a93e2dfa495ffe68291a26b7112081e2 (patch) | |
tree | e9389d99c36b5c5754a9040d0b14335c8cd98d6e /main/main.h | |
parent | c89061e982a27ba6e5dc6ea54ae812976de2d2db (diff) |
Clamp rotation for up/down orbiting shortcuts.
This prevents the viewport from going upside-down.
This was suggested at:
https://github.com/godotengine/godot/pull/51984#issuecomment-948614191:
> For 3.4, I think we can just clamp the angle value when using the
> camera orbiting shortcuts. We can investigate what to do with panning
> and freelook in 3.5 and 4.0.
Diffstat (limited to 'main/main.h')
0 files changed, 0 insertions, 0 deletions