Go to the documentation of this file.
12#define IM_VEC2_CLASS_EXTRA \
13 constexpr ImVec2(const nc::Vector2& v) noexcept \
18 constexpr operator nc::Vector2() const noexcept \
20 return nc::Vector2{x, y}; \
23#define IM_VEC3_CLASS_EXTRA \
24 constexpr ImVec3(const nc::Vector3& v) noexcept \
25 : x{v.x}, y{v.y}, z{v.z} \
29 constexpr operator nc::Vector3() const noexcept \
31 return nc::Vector3{x, y, z}; \
34#define IM_VEC4_CLASS_EXTRA \
35 constexpr ImVec4(const nc::Vector4& v) noexcept \
36 : x{v.x}, y{v.y}, z{v.z}, w{v.w} \
40 constexpr operator nc::Vector4() const noexcept \
42 return nc::Vector4{x, y, z, w}; \