From e209500e2bb009d22c24324362dff710a3e83b6b Mon Sep 17 00:00:00 2001 From: Jeff Baumes Date: Wed, 4 Jun 2025 21:26:43 -0400 Subject: [PATCH] Update multiple-attributes.md --- basic-3d-rendering/input-geometry/multiple-attributes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basic-3d-rendering/input-geometry/multiple-attributes.md b/basic-3d-rendering/input-geometry/multiple-attributes.md index f44084b..8eb036c 100644 --- a/basic-3d-rendering/input-geometry/multiple-attributes.md +++ b/basic-3d-rendering/input-geometry/multiple-attributes.md @@ -20,7 +20,7 @@ Multiple Attributes 🟢 *Resulting code:* [`step033-vanilla`](https://github.com/eliemichel/LearnWebGPU-Code/tree/step033-vanilla) ```` -Vertices can contain more than just a position attribute. A typical example is to **add a color attribute** to each vertex. This will also show us how the rasterizer automatically interpolate vertex attributes across triangles. +Vertices can contain more than just a position attribute. A typical example is to **add a color attribute** to each vertex. This will also show us how the rasterizer automatically interpolates vertex attributes across triangles. Shader ------ @@ -50,7 +50,7 @@ struct VertexInput { }; ``` -Our vertex shader thus only receive one single argument, whose type is `VertexInput`: +Our vertex shader thus only receives one single argument, whose type is `VertexInput`: ```{lit} rust, Vertex shader (also for tangle root "Vanilla") fn vs_main(in: VertexInput) -> /* ... */ {