Create basic WebGL example

This commit is contained in:
Ben Merritt
2018-09-15 23:28:15 -07:00
parent 285c734a6a
commit 426671d83c
12 changed files with 247 additions and 0 deletions

5
examples/webgl/index.js Executable file
View File

@ -0,0 +1,5 @@
// For more comments about what's going on here, check out the `hello_world`
// example.
import('./wasm_bindgen_webgl_demo').then(webgl => {
webgl.draw();
});