fixed tests

This commit is contained in:
2026-03-01 13:22:15 +03:00
parent 2063c4d33a
commit 5eaec70846
2 changed files with 78 additions and 74 deletions

View File

@@ -20,6 +20,10 @@ namespace omath
{
Vector4<float> m_value;
public:
constexpr const Vector4<float>& value() const
{
return m_value;
}
constexpr Color(const float r, const float g, const float b, const float a) noexcept: m_value(r, g, b, a)
{
m_value.clamp(0.f, 1.f);