Merge pull request #194 from rokonio/patch-1

Update README.md
pull/196/head
sotrh 3 years ago committed by GitHub
commit be30044db4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -298,7 +298,7 @@ First, we'll change the `Vertex` struct:
```rust ```rust
#[repr(C)] #[repr(C)]
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
struct Vertex { struct Vertex {
position: [f32; 3], position: [f32; 3],
tex_coords: [f32; 2], // NEW! tex_coords: [f32; 2], // NEW!

Loading…
Cancel
Save