Skip to content

Commit

Permalink
🐛 Fix placement of IMGUI_DEFINE_MATH_OPERATORS. Fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Sep 4, 2023
1 parent c2641dc commit 416136d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ColorRGBA.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#define IMGUI_DEFINE_MATH_OPERATORS
#include <imgui.h> // Include ImVec4

namespace ImGG {
Expand Down
1 change: 1 addition & 0 deletions src/imgui_draw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "Interpolation.hpp"
#include "Settings.hpp"
#include "internal.hpp"
#include <imgui_internal.h>

namespace ImGG {

Expand Down
1 change: 0 additions & 1 deletion src/internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#define IMGUI_DEFINE_MATH_OPERATORS
#include <imgui.h>
#include "imgui_internal.hpp"

namespace ImGG { namespace internal {

Expand Down

0 comments on commit 416136d

Please sign in to comment.