now template

This commit is contained in:
Vladislav Alpatov
2025-03-01 21:11:46 +03:00
parent b86689523c
commit a68ebd9ab7
43 changed files with 224 additions and 256 deletions
+2 -2
View File
@@ -18,10 +18,10 @@ namespace omath
};
class Color final : public Vector4
class Color final : public Vector4<float>
{
public:
constexpr Color(float r, float g, float b, float a) : Vector4(r,g,b,a)
constexpr Color(const float r, const float g, const float b, const float a) : Vector4(r,g,b,a)
{
Clamp(0.f, 1.f);
}