Graphics engine targeting WebGL 2.0 (via WebAssembly) and OpenGL 3.3+.
Quite early. Many of the basics are there, but it's not quite ready yet.
- Native
cargo run --bin viewer
(code:tools/viewer
)
- Web
cd tools/rust-webpack
npm install
npm start
wasm-pack test --headless --firefox
- Make sure to check both native and wasm compilation, e.g. with
cargo check
(native)cargo check --target wasm32-unknown-unknown --lib
(wasm)- with cargo-watch installed, the above can be wrapped in
cargo watch -x "..."
for a permanent watch (use-w
/-i
to fine-tune watched/ignored files)