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:
parent
c08a8755ab
commit
e9ce65ebf4
1 changed files with 1 additions and 2 deletions
|
|
@ -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 -----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue