mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-04 04:22:08 +03:00
2b29650920
* crates/web-sys/webidls/enabled/WebXRDevice.webidl * Add WebXR Web IDL. * Add WebXr example. * Workaround in WebXR for FrozenArray and XRWebGLLayer constructor. * Remove commented code. * Attempt to improve WebXr example. * Add WebXr as unstable WebIDL. * Fixes for XRWebGLLayer. * Tidy up WebXR example code. * Update WebXr example docs. Co-authored-by: Kev Kirkland <kev.kirkland@elucidata.co.uk> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
index.html | ||
index.js | ||
package.json | ||
README.md | ||
webpack.config.js | ||
webxr.js |
WebXR Example
View documentation for this example online or View compiled example online
You can build the example locally with:
# Note: Requires unstable flag whilst WebXR in development
$ RUSTFLAGS=--cfg=web_sys_unstable_apis npm run serve
and then visiting http://localhost:8080 in a browser should run the example!