john-chapman / im3d

Immediate mode rendering and 3d gizmos.
MIT License
1.21k stars 63 forks source link

wrong behavior when scale the model #42

Closed kalluwa closed 4 years ago

kalluwa commented 4 years ago

i am testing this great tool, but it behaves strange when scale the model . as the image display

gizmoscaleerror

(mouse pos in the image(there is an offset) is not the real position due to the recording software) using the lastest codebase

john-chapman commented 4 years ago

Hi - thanks for reporting this, I'll look into it ASAP.

In the meantime, you can work around the issue by setting m_flipGizmoWhenBehind = false on the AppData struct.

kalluwa commented 4 years ago

thanks a lot

john-chapman commented 4 years ago

Actually it was a simple fix, thanks again for reporting this.