mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
added new method
This commit is contained in:
@@ -166,5 +166,12 @@ namespace omath
|
|||||||
{
|
{
|
||||||
return {0.f, 0.f, 1.f, 1.f};
|
return {0.f, 0.f, 1.f, 1.f};
|
||||||
}
|
}
|
||||||
|
#ifdef OMATH_IMGUI_INTEGRATION
|
||||||
|
[[nodiscard]]
|
||||||
|
ImColor to_im_color() const noexcept
|
||||||
|
{
|
||||||
|
return {to_im_vec4()};
|
||||||
|
}
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
} // namespace omath
|
} // namespace omath
|
||||||
|
|||||||
Reference in New Issue
Block a user