From e006350c8f6d2f70a43e3d026530661d6a8f579a Mon Sep 17 00:00:00 2001 From: Elie Michel Date: Sat, 29 Jun 2024 11:12:53 +0200 Subject: [PATCH] Fix typo and move wip warning --- basic-3d-rendering/input-geometry/index-buffer.md | 4 ++++ basic-3d-rendering/input-geometry/multiple-attributes.md | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/basic-3d-rendering/input-geometry/index-buffer.md b/basic-3d-rendering/input-geometry/index-buffer.md index afe4275..7903968 100644 --- a/basic-3d-rendering/input-geometry/index-buffer.md +++ b/basic-3d-rendering/input-geometry/index-buffer.md @@ -1,6 +1,10 @@ Index Buffer ============ +```{admonition} 🚧 WIP +From this chapter on, the guide uses a previous version of the accompanying code (in particular, it does not define an `Application` class but rather puts everything in a monolithic `main` function). **I am currently refreshing it** chapter by chapter and this is **where I am currently working**! +``` + ````{tab} With webgpu.hpp *Resulting code:* [`step034`](https://github.com/eliemichel/LearnWebGPU-Code/tree/step034) ```` diff --git a/basic-3d-rendering/input-geometry/multiple-attributes.md b/basic-3d-rendering/input-geometry/multiple-attributes.md index f7b71c9..e5f118b 100644 --- a/basic-3d-rendering/input-geometry/multiple-attributes.md +++ b/basic-3d-rendering/input-geometry/multiple-attributes.md @@ -1,10 +1,6 @@ Multiple Attributes =================== -```{admonition} 🚧 WIP -From this chapter on, the guide uses a previous version of the accompanying code (in particular, it does not define an `Application` class but rather puts everything in a monolithic `main` function). **I am currently refreshing it** chapter by chapter and this is **where I am currently working**! -``` - ```{lit-setup} :tangle-root: 033 - Multiple Attributes - Option A - vanilla :parent: 032 - A first Vertex Attribute - vanilla @@ -334,7 +330,7 @@ vertexBufferLayout.stepMode = VertexStepMode::Vertex; ```{lit} C++, Describe buffer stride and step mode (replace, for tangle root "Vanilla") vertexBufferLayout.arrayStride = 5 * sizeof(float); // ^^^^^^^^^^^^^^^^^ The new stride -vertexBufferLayout.stepMode = GPUVertexStepMode_Vertex; +vertexBufferLayout.stepMode = WGPUVertexStepMode_Vertex; ``` ````