diff options
author | HampusM <hampus@hampusmat.com> | 2023-11-02 18:42:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-11-02 18:42:18 +0100 |
commit | 6cb496b5b8b085ea46549ba7a3593c28a40be7e9 (patch) | |
tree | cd8cf2df973b2806d65ddd44c383a700ac254c8a /engine/src/vertex.rs | |
parent | 5b0d859d0fbfb84ec143d894e023dcbd90980ad1 (diff) |
refactor: replace Object new method with builder
Diffstat (limited to 'engine/src/vertex.rs')
-rw-r--r-- | engine/src/vertex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/vertex.rs b/engine/src/vertex.rs index 592353a..62f629b 100644 --- a/engine/src/vertex.rs +++ b/engine/src/vertex.rs @@ -3,7 +3,7 @@ use std::mem::size_of; use crate::color::Color; use crate::vector::Vec3; -#[derive(Debug)] +#[derive(Debug, Clone, Default)] #[repr(C)] pub struct Vertex { |