diff options
Diffstat (limited to 'engine/src/vertex.rs')
-rw-r--r-- | engine/src/vertex.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/src/vertex.rs b/engine/src/vertex.rs index 897ee97..5739323 100644 --- a/engine/src/vertex.rs +++ b/engine/src/vertex.rs @@ -7,11 +7,12 @@ builder! { #[builder(name = Builder, derives = (Debug, Default))] #[derive(Debug, Clone, Default)] #[repr(C)] +#[non_exhaustive] pub struct Vertex { - pos: Vec3<f32>, - texture_coords: Vec2<f32>, - normal: Vec3<f32>, + pub pos: Vec3<f32>, + pub texture_coords: Vec2<f32>, + pub normal: Vec3<f32>, } } |