ImGuizmo icon indicating copy to clipboard operation
ImGuizmo copied to clipboard

Missing #include <imgui.h> in ImGuizmo.h

Open HasKha opened this issue 5 years ago • 0 comments

ViewManipulate is using ImVec2 (https://github.com/CedricGuillemet/ImGuizmo/blob/master/ImGuizmo.h#L179) which is defined in imgui.h, but that is not included anywhere in ImGuizmo.h. This can cause a compile error.

This can be fixed by adding #include <imgui.h> at the top of ImGuizmo.h (line 45ish, before the example).

HasKha avatar Jan 14 '20 20:01 HasKha