File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
311310If 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-
314311WebGL is based on OpenGL ES 2.0,
315312which is based on OpenGL 2.0,
316313so 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
320320What we want is for our rust code to look something like this:
You can’t perform that action at this time.
0 commit comments