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

Fix incorrect "behind camera" culling #212

Closed zhaijialong closed 2 years ago

zhaijialong commented 2 years ago

currently the camSpacePosition is in clip space, not camera space. and it doesn't work for left-hand + reversed z

CedricGuillemet commented 2 years ago

Please fix conflicts

CedricGuillemet commented 2 years ago

I had to revert the commit because it breaks the sample.