CedricGuillemet / ImGuizmo

Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui
MIT License
3.22k stars 907 forks source link

Option for ignoring projection matrix width & height #248

Open Goubermouche opened 2 years ago

Goubermouche commented 2 years ago

Is there a built-in way of disabling the gizmo scaling based on projection matrix size (ie. screen size)? I can see that the mScreenFactor variable controls the overall scale of everything, but I wasn't able to find a simple way to just have a set value for it & have it stay the same size depending on how far the camera is from the transform. Thanks in advance 😄.