Files
allwpilib/upstream_utils/imgui_patches/0001-Set-IMGUI_DEFINE_MATH_OPERATORS.patch
Peter Johnson 476b9641c1 [upstream_utils] Update imgui and implot (#8762)
Not updating GLFW yet due to a likely future move to SDL.
2026-04-12 12:19:32 -07:00

24 lines
948 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jade Turner <spacey-sooty@proton.me>
Date: Fri, 11 Apr 2025 11:20:41 +0800
Subject: [PATCH] Set IMGUI_DEFINE_MATH_OPERATORS
Signed-off-by: Jade Turner <spacey-sooty@proton.me>
---
imconfig.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/imconfig.h b/imconfig.h
index 0d843be26dcaa78eb59365dd2577099e095ab36c..41bd164ea606d144d395f17f19f2180e56b80c05 100644
--- a/imconfig.h
+++ b/imconfig.h
@@ -112,7 +112,7 @@
operator MyVec4() const { return MyVec4(x,y,z,w); }
*/
//---- ...Or use Dear ImGui's own very basic math operators.
-//#define IMGUI_DEFINE_MATH_OPERATORS
+#define IMGUI_DEFINE_MATH_OPERATORS
//---- Use 32-bit vertex indices (default is 16-bit) is one way to allow large meshes with more than 64K vertices.
// Your renderer backend will need to support it (most example renderer backends support both 16/32-bit indices).