2021-05-24 21:25:31 +00:00
|
|
|
#include <cstdint>
|
|
|
|
|
2021-05-30 12:02:45 +00:00
|
|
|
#include <zeus/CVector2f.hpp>
|
|
|
|
|
2021-05-24 21:25:31 +00:00
|
|
|
#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
2022-02-27 21:58:27 +00:00
|
|
|
#define IMGUI_DISABLE_OBSOLETE_KEYIO
|
|
|
|
|
|
|
|
#ifdef NDEBUG
|
|
|
|
#define IMGUI_DISABLE_DEMO_WINDOWS
|
|
|
|
#endif
|
2021-05-24 21:25:31 +00:00
|
|
|
|
2021-05-30 12:02:45 +00:00
|
|
|
#define IM_VEC2_CLASS_EXTRA \
|
|
|
|
ImVec2(const zeus::CVector2f& v) { \
|
|
|
|
x = v.x(); \
|
|
|
|
y = v.y(); \
|
|
|
|
} \
|
|
|
|
operator zeus::CVector2f() const { return zeus::CVector2f{x, y}; }
|