Hello, this is my first time using 'imguizmo' as a small tool for a 3D scene. I have encountered an issue where even after calling the SetRect function and moving the camera, the tool goes beyond the viewport area. I am unsure how to resolve this. I have tried setting the clipping area for the drawlist as suggested in the imguizmo repo's issue, but unfortunately, it did not work.
Hello, this is my first time using 'imguizmo' as a small tool for a 3D scene. I have encountered an issue where even after calling the SetRect function and moving the camera, the tool goes beyond the viewport area. I am unsure how to resolve this. I have tried setting the clipping area for the drawlist as suggested in the imguizmo repo's issue, but unfortunately, it did not work.
or
The final result:
I can guarantee that the parameters left, top, width, and height are all correct.