summaryrefslogtreecommitdiff
path: root/my_imgui_internal_widgets.h
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-08-10 21:24:03 -0400
committerFox Caminiti <fox@foxcam.net>2022-08-10 21:24:03 -0400
commitbc5375149c0ecb416848a2d3657ea41ae97177b3 (patch)
tree8868395241d523bb96ea90d2846cd6ffefcae766 /my_imgui_internal_widgets.h
parentf1e12e108869c560d92eb8803e4b5104c7d8f85d (diff)
path rasterization started with opengl
Diffstat (limited to 'my_imgui_internal_widgets.h')
-rw-r--r--my_imgui_internal_widgets.h5
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);
}