Improve colors

This commit is contained in:
2024-01-04 10:03:25 -06:00
parent 107fcbd64e
commit 425e093442
4 changed files with 6 additions and 6 deletions

View File

@@ -64,8 +64,8 @@ namespace JabyEngine {
return T::from_rgb(0x80, 0x80, 0x80);
}
static constexpr T White() {
return T::from_rgb(0xFF, 0xFF, 0xFF);
static constexpr T White(uint8_t base = 0xFF) {
return T::from_rgb(base, base, base);
}
static constexpr T Red(uint8_t base = 0xFF) {