rokups / ImNodes

Node graph implementation for Dear ImGui. Used in https://github.com/rokups/rbfx
MIT License
656 stars 57 forks source link

ImBezierClosestPointCasteljau deprecation #24

Closed sonoro1234 closed 3 years ago

sonoro1234 commented 3 years ago

ImBezierClosestPointCasteljau was dropped in 1.80 so that ImNodes does not compile. Perhaps IMGUI_VERSION_NUM < 18000 could be used for using this or ImBezierCubicClosestPointCasteljau

I tried without IMGUI_DISABLE_OBSOLETE_FUNCTIONS but it did not work as ImBezierClosestPointCasteljau was not kepped in imgui.h https://github.com/ocornut/imgui/issues/3746

sonoro1234 commented 3 years ago

pushed fix in PR #25