mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-15 11:44:34 +00:00
improved tests
This commit is contained in:
@@ -220,6 +220,12 @@ namespace omath
|
||||
{
|
||||
return std::make_tuple(x, y);
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
constexpr std::array<Type, 2> as_array() const noexcept
|
||||
{
|
||||
return {x, y};
|
||||
}
|
||||
#ifdef OMATH_IMGUI_INTEGRATION
|
||||
[[nodiscard]]
|
||||
constexpr ImVec2 to_im_vec2() const noexcept
|
||||
|
||||
Reference in New Issue
Block a user