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

Fixed rendering rotation guizmo by orthographic camera. #255

Closed kacprzak closed 2 years ago

kacprzak commented 2 years ago

When changing camera to orthographic, rotation gizmo was rendered as seen from the back. View inverse is just camera transformation but the convention is that +Z is pointing behind camera. This is probably why gizmo is rendered from back.

Related to: #182, #165