mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-04 22:52:42 +03:00
8 lines
150 B
JavaScript
8 lines
150 B
JavaScript
|
import * as wasm from "webxr";
|
||
|
|
||
|
var xrApp = new wasm.XrApp();
|
||
|
xrApp.init()
|
||
|
.then(res => {
|
||
|
console.log(res);
|
||
|
xrApp.start();
|
||
|
});
|