diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-22 19:29:11 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-22 19:29:11 +0200 |
commit | 54c0fd70f82eb1a6814872c78bc22380f438c9d1 (patch) | |
tree | 7b0b67b52daa7ce18432c7b83caa862234a3255c /engine/src/vector.rs | |
parent | 30394c16ccdcdb145352e245a7a8893cef28e82d (diff) |
feat(engine): add translating & scaling objects
Diffstat (limited to 'engine/src/vector.rs')
-rw-r--r-- | engine/src/vector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/vector.rs b/engine/src/vector.rs index ada64c4..c25a258 100644 --- a/engine/src/vector.rs +++ b/engine/src/vector.rs @@ -10,7 +10,7 @@ impl Vec2<u32> pub const ZERO: Self = Self { x: 0, y: 0 }; } -#[derive(Debug)] +#[derive(Debug, Default, Clone)] #[repr(C)] pub struct Vec3<Value> { |