SDEngine
Game Engine
Loading...
Searching...
No Matches
imgui_vla_config.h File Reference
#include <VLA/Vector.hpp>
+ Include dependency graph for imgui_vla_config.h:

Go to the source code of this file.

Macros

#define IM_VEC2_CLASS_EXTRA
 
#define IM_VEC4_CLASS_EXTRA
 

Macro Definition Documentation

◆ IM_VEC2_CLASS_EXTRA

#define IM_VEC2_CLASS_EXTRA
Value:
constexpr ImVec2(const VLA::Vector2f& v) : x(v[0]), y(v[1]) { \
} \
operator VLA::Vector2f() const { \
return {x, y}; \
}
consteval U64 type_id_of()
Definition type_id.hpp:6

◆ IM_VEC4_CLASS_EXTRA

#define IM_VEC4_CLASS_EXTRA
Value:
constexpr ImVec4(const VLA::Vector4f& v) : x(v[0]), y(v[1]), z(v[2]), w(v[3]) { \
} \
operator VLA::Vector4f() const { \
return {x, y, z, w}; \
}