You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @baktery, I verified this and pushed a fix.
Even though PathArcTo() is correct as it is, it can be misleading when used for a full closed shape. so I added a few comments around those functions and the circle function.
Version/Branch of Dear ImGui:
Version: 1.6WIP
Branch: https://github.com/google/filament/tree/master/third_party/imgui
My Issue/Question:
Drawing a circle with ImDrawList::AddCircleFilled() I noticed that the size of all the segments were not the same.
For example, you can try to draw an hexagon (6 segments) and you will see an irregular polygon instead of a regular hexagon.
Standalone, minimal, complete and verifiable example:
This is the original function:
PathActTo() is not called with the proper number of segments. This a fixed version:
It seems like AddCicle() function also has the same issue.
The text was updated successfully, but these errors were encountered: