diff options
Diffstat (limited to 'engine/src/vector.rs')
-rw-r--r-- | engine/src/vector.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/src/vector.rs b/engine/src/vector.rs index 48550fa..ada64c4 100644 --- a/engine/src/vector.rs +++ b/engine/src/vector.rs @@ -9,3 +9,12 @@ impl Vec2<u32> { pub const ZERO: Self = Self { x: 0, y: 0 }; } + +#[derive(Debug)] +#[repr(C)] +pub struct Vec3<Value> +{ + pub x: Value, + pub y: Value, + pub z: Value, +} |