Merge pull request #394 from mckahz/fix-instance-typo

Fix instance typo
pull/397/head
sotrh 2 years ago committed by GitHub
commit 6951ceb3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -229,10 +229,10 @@ We need to reference the parts of our new matrix in `shader.wgsl` so that we can
```wgsl
struct InstanceInput {
@location(5) model_matrix_0: vec4<f32>;
@location(6) model_matrix_1: vec4<f32>;
@location(7) model_matrix_2: vec4<f32>;
@location(8) model_matrix_3: vec4<f32>;
@location(5) model_matrix_0: vec4<f32>,
@location(6) model_matrix_1: vec4<f32>,
@location(7) model_matrix_2: vec4<f32>,
@location(8) model_matrix_3: vec4<f32>,
};
```

Loading…
Cancel
Save