Improve colors
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user