Learn OpenGL in Rust with web compatibility
This repository documents my process in following the Learn OpenGL book, but with a few twists:
Each chapter has a corresponding tag for the commit that implements it. You can view every tag online using WebGL: https://willcrichton.net/learn-opengl-rust/
Native:
cargo run
Web:
cargo install cargo-make basic-http-server
cargo make build-web
basic-http-server wasm
Then visit http://localhost:4000.