Clamp rotation for up/down orbiting shortcuts.
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.

pkowal1982/godot,Shockblast/godot,vkbsb/godot,guilhermefelipecgs/godot,godotengine/godot,firefly2442/godot,godotengine/godot,BastiaanOlij/godot,BastiaanOlij/godot,vkbsb/godot,ZuBsPaCe/godot,Zylann/godot,vnen/godot,Valentactive/godot,josempans/godot,firefly2442/godot,BastiaanOlij/godot,Zylann/godot,akien-mga/godot,firefly2442/godot,godotengine/godot,vnen/godot,ZuBsPaCe/godot,BastiaanOlij/godot,firefly2442/godot,vnen/godot,pkowal1982/godot,pkowal1982/godot,Shockblast/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,Valentactive/godot,Faless/godot,BastiaanOlij/godot,Valentactive/godot,Shockblast/godot,firefly2442/godot,Faless/godot,godotengine/godot,Shockblast/godot,Valentactive/godot,vnen/godot,akien-mga/godot,vnen/godot,Faless/godot,Faless/godot,pkowal1982/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,godotengine/godot,BastiaanOlij/godot,firefly2442/godot,pkowal1982/godot,vkbsb/godot,Valentactive/godot,vkbsb/godot,pkowal1982/godot,vnen/godot,sanikoyes/godot,vkbsb/godot,Zylann/godot,josempans/godot,godotengine/godot,sanikoyes/godot,Valentactive/godot,Faless/godot,firefly2442/godot,guilhermefelipecgs/godot,Valentactive/godot,Zylann/godot,vkbsb/godot,josempans/godot,ZuBsPaCe/godot,josempans/godot,Valentactive/godot,ZuBsPaCe/godot,akien-mga/godot,Zylann/godot,sanikoyes/godot,firefly2442/godot,sanikoyes/godot,Zylann/godot,pkowal1982/godot,godotengine/godot,akien-mga/godot,akien-mga/godot,vkbsb/godot,guilhermefelipecgs/godot,Shockblast/godot,Faless/godot,akien-mga/godot,vnen/godot,vkbsb/godot,Zylann/godot,sanikoyes/godot,vnen/godot,Faless/godot,Shockblast/godot,pkowal1982/godot,Faless/godot,josempans/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,josempans/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,akien-mga/godot,sanikoyes/godot,guilhermefelipecgs/godot,josempans/godot,Shockblast/godot,akien-mga/godot,godotengine/godot,sanikoyes/godot,Zylann/godot,ZuBsPaCe/godot,sanikoyes/godot,josempans/godot,Shockblast/godot