Skip to content

Commit

Permalink
show diff
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Aug 13, 2023
1 parent a710dd8 commit 4c6eff0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webgpu/lessons/webgpu-matrix-math.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,10 @@ Now let's change our shader to use a matrix
struct Uniforms {
color: vec4f,
resolution: vec2f,
matrix: mat3x3f,
- translation: vec2f,
- rotation: vec2f,
- scale: vec2f,
+ matrix: mat3x3f,
};
...
Expand Down

0 comments on commit 4c6eff0

Please sign in to comment.