1 |
- window.Physics3D=function(e,s){return new Promise(n=>{var i=new WebAssembly.Memory({initial:e});fetch("laya.physics3D.wasm.wasm").then(e=>{e.arrayBuffer().then(e=>{WebAssembly.instantiate(e,{LayaAirInteractive:s,wasi_unstable:{fd_close:()=>{console.log("fd_close")},fd_seek:()=>{console.log("fd_seek")},fd_write:()=>{console.log("fd_write")}},env:{memory:i}}).then(e=>{window.Physics3D=e.instance.exports,n()})})})})};
|