mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-04 06:00:47 +00:00
Fix syntax error in tutorial 6
This commit is contained in:
parent
63af8ac3d5
commit
6302a2372c
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user