QoL: Add auto perspective (#8312)

* ImGuizmo: Comment out unused code

* 3DNav: Avoid gimbal lock by using polar coordinates

* 3DNav: Make sure top and bottom are oriented correctly

* Add auto perspective

* Add options

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Noisyfox 2025-03-09 14:04:46 +08:00 committed by GitHub
parent 1558edf827
commit 345ab82f91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 173 additions and 87 deletions

View file

@ -170,6 +170,9 @@ void AppConfig::set_defaults()
if (get("use_perspective_camera").empty())
set_bool("use_perspective_camera", true);
if (get("auto_perspective").empty())
set_bool("auto_perspective", false);
if (get("use_free_camera").empty())
set_bool("use_free_camera", false);