summaryrefslogtreecommitdiff
path: root/engine/src/color.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/color.rs')
-rw-r--r--engine/src/color.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/src/color.rs b/engine/src/color.rs
index 1e87cb9..2fd2cd3 100644
--- a/engine/src/color.rs
+++ b/engine/src/color.rs
@@ -6,3 +6,8 @@ pub struct Color<Value>
pub green: Value,
pub blue: Value,
}
+
+impl Color<f32>
+{
+ pub const WHITE_F32: Self = Self { red: 1.0, green: 1.0, blue: 1.0 };
+}