diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-10 21:24:03 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-10 21:24:03 -0400 |
commit | bc5375149c0ecb416848a2d3657ea41ae97177b3 (patch) | |
tree | 8868395241d523bb96ea90d2846cd6ffefcae766 /my_imgui_internal_widgets.h | |
parent | f1e12e108869c560d92eb8803e4b5104c7d8f85d (diff) |
path rasterization started with opengl
Diffstat (limited to 'my_imgui_internal_widgets.h')
-rw-r--r-- | my_imgui_internal_widgets.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/my_imgui_internal_widgets.h b/my_imgui_internal_widgets.h index 1e0a212..52fdc74 100644 --- a/my_imgui_internal_widgets.h +++ b/my_imgui_internal_widgets.h @@ -8,7 +8,8 @@ namespace ImGui { IMGUI_API bool SliderLevels(const char* label, const char* label2, const char* label3, void* p_data, void* p_min, void* p_max); IMGUI_API bool TestLine(ImVec2 P1, ImVec2 P2); - IMGUI_API bool BezierInteractive(ImVec2 p0, ImVec2 p1, ImVec2 p2, ImVec2 p3, float& ratio); - IMGUI_API ImVec2 RatioToPoint(const ImVec2& a, const ImVec2& b, float ratio); + IMGUI_API bool BezierInteractive(ImVec2 p0, ImVec2 p1, ImVec2 p2, ImVec2 p3); + IMGUI_API bool LineInteractive(ImVec2 p0, ImVec2 p1); + IMGUI_API ImVec2 RatioToPoint(ImVec2 a, ImVec2 b, float ratio); } |