Merge pull request #371 from Narcha/patch-2

Fixed missing `pub` in ModelVertex struct
pull/372/head
sotrh 2 years ago committed by GitHub
commit bca1bc0576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,9 +13,9 @@ pub trait Vertex {
#[repr(C)]
#[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
pub struct ModelVertex {
position: [f32; 3],
tex_coords: [f32; 2],
normal: [f32; 3],
pub position: [f32; 3],
pub tex_coords: [f32; 2],
pub normal: [f32; 3],
}
impl Vertex for ModelVertex {

Loading…
Cancel
Save