Merge pull request #211 from Epacnoss/master

Change Float3 to Float32
pull/213/head
sotrh 3 years ago committed by GitHub
commit 4a673518e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -182,7 +182,7 @@ Specifying the attributes as we did now is quite verbose. We could use the `vert
wgpu::VertexBufferLayout {
array_stride: std::mem::size_of::<Vertex>() as wgpu::BufferAddress,
step_mode: wgpu::InputStepMode::Vertex,
attributes: &wgpu::vertex_attr_array![0 => Float3, 1 => Float3],
attributes: &wgpu::vertex_attr_array![0 => Float32, 1 => Float32],
}
```

Loading…
Cancel
Save