mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 15:03:27 +00:00
fixed naming
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "omath/Vector4.h"
|
||||
|
||||
|
||||
namespace omath::color
|
||||
namespace omath
|
||||
{
|
||||
struct HSV
|
||||
{
|
||||
@@ -27,8 +27,10 @@ namespace omath::color
|
||||
Clamp(0.f, 1.f);
|
||||
}
|
||||
|
||||
explicit Color()
|
||||
;
|
||||
constexpr explicit Color() : Vector4()
|
||||
{
|
||||
|
||||
}
|
||||
[[nodiscard]]
|
||||
constexpr static Color FromRGBA(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
|
||||
{
|
||||
@@ -14,7 +14,7 @@ namespace omath
|
||||
public:
|
||||
float w;
|
||||
|
||||
constexpr Vector4(float x = 0.f, float y = 0.f, float z = 0.f, float w = 0.f) : Vector3(x, y, z), w(w) {}
|
||||
constexpr Vector4(float x, float y, float z, float w) : Vector3(x, y, z), w(w) {}
|
||||
constexpr Vector4() : Vector3(), w(0.f) {};
|
||||
|
||||
[[nodiscard]]
|
||||
|
||||
Reference in New Issue
Block a user