Skip to content

Commit 1277f9c

Browse files
committed
fix awkward writing.
1 parent 10659cb commit 1277f9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book_src/web_stuff/web_gl_with_bare_wasm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,16 +305,16 @@ Now we will always have both the latest HTML *and* wasm in our browser page.
305305

306306
## Drawing A Triangle
307307

308-
We need a little more wasm/js interaction than what we have to make a complete triangle.
309-
Let's check out the additional stuff we'll need for a proper triangle draw.
308+
We need a little more wasm/js interaction than what we have right now to actually draw a triangle.
310309

311310
If you want a larger WebGL tutorial you should check out [the one on MDN](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial).
312-
We won't go into all of it, but there's some good stuff there.
313-
314311
WebGL is based on OpenGL ES 2.0,
315312
which is based on OpenGL 2.0,
316313
so if you already know about GL stuff, this will probably look very familiar.
317314

315+
For now, we'll mostly skip over the WebGL explanations themselves.
316+
Instead we'll focus on the interoperation guts that let our wasm interact with WebGL.
317+
318318
### The Rust Code
319319

320320
What we want is for our rust code to look something like this:

0 commit comments

Comments
 (0)