added color

This commit is contained in:
2024-05-07 02:12:16 +03:00
parent f5105ad366
commit f996f10b4c
2 changed files with 17 additions and 2 deletions

View File

@@ -3,11 +3,20 @@
//
#pragma once
#include "uml/Vector3.h"
#include <cstdint>
#include "uml/Vector4.h"
namespace uml::color
{
[[nodiscard]]
Vector3 Blend(const Vector3& first, const Vector3& second, float ratio);
class Color : public Vector4
{
public:
[[nodiscard]] Color Blend(const Color& other, float ratio) const;
};
}