From 6302a2372c9e4b98e76c3b1c1a52a965b1ef7e00 Mon Sep 17 00:00:00 2001 From: paq <89paku@gmail.com> Date: Sun, 3 Jan 2021 15:58:12 +0900 Subject: [PATCH] Fix syntax error in tutorial 6 --- docs/beginner/tutorial6-uniforms/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/beginner/tutorial6-uniforms/README.md b/docs/beginner/tutorial6-uniforms/README.md index a826c1ba..79523508 100644 --- a/docs/beginner/tutorial6-uniforms/README.md +++ b/docs/beginner/tutorial6-uniforms/README.md @@ -94,7 +94,7 @@ Up to this point we've used `Buffer`s to store our vertex and index data, and ev #[repr(C)] // This is so we can store this in a buffer #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] -struct Uniforms +struct Uniforms { // We can't use cgmath with bytemuck directly so we'll have // to convert the Matrix4 into a 4x4 f32 array view_proj: [[f32; 4]; 4],