Screwed up and added duplicate implementations of FromHSV

This commit is contained in:
2025-04-22 17:17:46 -04:00
parent aeebf81a39
commit 2c52899c34

View File

@@ -137,10 +137,6 @@ Color4 Color4::FromHexA(const std::string &hexACode) {
throw std::invalid_argument("Invalid hex code");
}
Color4 Color4::FromHSV(float hue, float saturation, float value, float alpha) {
return Color4(HSV{hue, saturation, value}, alpha);
}
u8 Color4::RedChannel() const { return r;}
u8 Color4::GreenChannel() const { return g;}