diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84c048a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/build/ diff --git a/cimplot3d.cpp b/cimplot3d.cpp index edb5980..dda7eef 100644 --- a/cimplot3d.cpp +++ b/cimplot3d.cpp @@ -6,6 +6,11 @@ #include "cimplot3d.h" +CIMGUI_API void ImPlot3D_SetImGuiContext(ImGuiContext* ctx) +{ + return ImGui::SetCurrentContext(ctx); +} + static inline ImPlot3DPoint ConvertToCPP_ImPlot3DPoint(const ImPlot3DPoint_c& src) { @@ -956,4 +961,3 @@ CIMGUI_API ImPlot3DStyle* ImPlot3DStyle_ImPlot3DStyle_Plot3DStyle(const ImPlot3D } -