-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AddTriangle draws lines with nonuniform thickness #2868
Comments
Hi ! I believe this is the same as #2183 in particular there's a suggestion #2183 (comment) I haven't looked at your suggestion is detail, it seems simpler to implement than mentioned in the comment above (tho the sqrt is costly), I just have no idea if it is right. We probably need a little portable suite that shows a bunch of test cases so we can compare algorithms. Pasting actual text for your patch would help :) |
Oh yes, it is indeed the same issue. I'm sorry for that. I tried to search for something similar without success. My fix is probably not robust/complete, since I did not understand what |
There was actually an issue which creeped in January 2019 and made this worst> |
Version/Branch of Dear ImGui:
Version: 1.74 WIP (3c238ec latest commit at this time, but the same issue is even in much older versions)
Branch: master
Back-ends: imgui_impl_dx11.cpp + imgui_impl_win32.cpp
Compiler: msvc 2019
Operating System: Win10
My Issue/Question:
Lines of a triangle have nonuniform thickness
Screenshots/Video
Standalone, minimal, complete and verifiable example:
If I do this, the triangle looks allright:
The text was updated successfully, but these errors were encountered: