1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

Export math operators

This commit is contained in:
Toyosatomimi no Miko 2025-11-27 01:50:56 -05:00
parent c08a8755ab
commit e9ce65ebf4

View file

@ -3,12 +3,12 @@
module;
#define IMGUI_DEFINE_MATH_OPERATORS
#include "imgui.h"
export module ImGui;
export {
#ifdef IMGUI_DEFINE_MATH_OPERATORS
using ::operator+;
using ::operator-;
using ::operator*;
@ -19,7 +19,6 @@ export {
using ::operator/=;
using ::operator==;
using ::operator!=;
#endif
// ----- Enums -----