From 6cb496b5b8b085ea46549ba7a3593c28a40be7e9 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 2 Nov 2023 18:42:18 +0100 Subject: refactor: replace Object new method with builder --- engine/src/vertex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/src/vertex.rs') 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 { -- cgit v1.2.3-18-g5258