From 341826e9a2b89713fc47ffbc914d18e23c7d9287 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 12 Oct 2023 21:29:36 +0200 Subject: feat(engine): add vertex coloring --- engine/src/color.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 engine/src/color.rs (limited to 'engine/src/color.rs') diff --git a/engine/src/color.rs b/engine/src/color.rs new file mode 100644 index 0000000..339b427 --- /dev/null +++ b/engine/src/color.rs @@ -0,0 +1,8 @@ +#[derive(Debug, Clone)] +#[repr(C)] +pub struct Color +{ + pub red: Value, + pub green: Value, + pub blue: Value, +} -- cgit v1.2.3-18-g5258