Skip to content

Commit

Permalink
** DO NOT MERGE ** Dirty demo/benchmark for PathArcToAdaptive (fixup)
Browse files Browse the repository at this point in the history
  • Loading branch information
thedmd committed Sep 25, 2020
1 parent 41fc9b2 commit 827cf74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imgui_demo.cpp
Expand Up @@ -5506,8 +5506,8 @@ static void ShowExampleAppCustomRendering(bool* p_open)
//draw_list->PathArcTo(canvas_center, radius, angle_start, angle_end, segment_count);
# if defined(IM_DRAWLIST_ARCFAST_SAMPLES)
draw_list->PathArcToFast2(canvas_center, radius,
(int)(angle_start * 48 / (PI * 2.0f)),
(int)(angle_end * 48 / (PI * 2.0f))
(int)(angle_start * IM_DRAWLIST_ARCFAST_SAMPLES / (PI * 2.0f)),
(int)(angle_end * IM_DRAWLIST_ARCFAST_SAMPLES / (PI * 2.0f))
);
# else
draw_list->PathArcToFast(canvas_center, radius,
Expand Down

0 comments on commit 827cf74

Please sign in to comment.