Loading...
Searching...
No Matches
Go to the documentation of this file.
2#include <VLA/Vector.hpp>
4#define IM_VEC2_CLASS_EXTRA \
5 constexpr ImVec2(const VLA::Vector2f& v) : x(v[0]), y(v[1]) { \
7 operator VLA::Vector2f() const { \
11#define IM_VEC4_CLASS_EXTRA \
12 constexpr ImVec4(const VLA::Vector4f& v) : x(v[0]), y(v[1]), z(v[2]), w(v[3]) { \
14 operator VLA::Vector4f() const { \
15 return {x, y, z, w}; \