Merge pull request #132 from paq/patch-1

Fix syntax error in tutorial 6
pull/134/head
sotrh 4 years ago committed by GitHub
commit 7bde566bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,7 +94,7 @@ Up to this point we've used `Buffer`s to store our vertex and index data, and ev
#[repr(C)] #[repr(C)]
// This is so we can store this in a buffer // This is so we can store this in a buffer
#[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
struct Uniforms struct Uniforms {
// We can't use cgmath with bytemuck directly so we'll have // We can't use cgmath with bytemuck directly so we'll have
// to convert the Matrix4 into a 4x4 f32 array // to convert the Matrix4 into a 4x4 f32 array
view_proj: [[f32; 4]; 4], view_proj: [[f32; 4]; 4],

Loading…
Cancel
Save