mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Combine demo_glium and demo_web into one egui_demo crate
This commit is contained in:
@@ -213,35 +213,35 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
||||
return real;
|
||||
}
|
||||
function __wbg_adapter_24(arg0, arg1) {
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf85506f45f4e8b16(arg0, arg1);
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h81f03ee2d784e177(arg0, arg1);
|
||||
}
|
||||
|
||||
function __wbg_adapter_27(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h047d08be48ab6c09(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16ce614a5c125c56(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_30(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h047d08be48ab6c09(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16ce614a5c125c56(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_33(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h047d08be48ab6c09(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16ce614a5c125c56(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_36(arg0, arg1) {
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf802d845e8b4a07b(arg0, arg1);
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcb627f1d4e0d7728(arg0, arg1);
|
||||
}
|
||||
|
||||
function __wbg_adapter_39(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h047d08be48ab6c09(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16ce614a5c125c56(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_42(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h047d08be48ab6c09(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16ce614a5c125c56(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_45(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf01ebeadb2908509(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h49f53e48165122c2(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -604,8 +604,8 @@ async function init(input) {
|
||||
imports.wbg.__wbg_viewport_54305c74f5668b33 = function(arg0, arg1, arg2, arg3, arg4) {
|
||||
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
|
||||
};
|
||||
imports.wbg.__wbg_log_f2e13ca55da8bad3 = function(arg0) {
|
||||
console.log(getObject(arg0));
|
||||
imports.wbg.__wbg_error_e325755affc8634b = function(arg0) {
|
||||
console.error(getObject(arg0));
|
||||
};
|
||||
imports.wbg.__wbg_warn_9e92ccdc67085e1b = function(arg0) {
|
||||
console.warn(getObject(arg0));
|
||||
@@ -795,35 +795,35 @@ async function init(input) {
|
||||
var ret = wasm.memory;
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper434 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_24);
|
||||
imports.wbg.__wbindgen_closure_wrapper308 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_24);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper435 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_27);
|
||||
imports.wbg.__wbindgen_closure_wrapper309 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_27);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper438 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_30);
|
||||
imports.wbg.__wbindgen_closure_wrapper311 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_30);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper440 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_33);
|
||||
imports.wbg.__wbindgen_closure_wrapper313 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_33);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper442 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_36);
|
||||
imports.wbg.__wbindgen_closure_wrapper315 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_36);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper444 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_39);
|
||||
imports.wbg.__wbindgen_closure_wrapper317 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_39);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper446 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_42);
|
||||
imports.wbg.__wbindgen_closure_wrapper320 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_42);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper521 = function(arg0, arg1, arg2) {
|
||||
imports.wbg.__wbindgen_closure_wrapper499 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 128, __wbg_adapter_45);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
Binary file not shown.
@@ -56,13 +56,13 @@
|
||||
</script>
|
||||
|
||||
<!-- this is the JS generated by the `wasm-bindgen` CLI tool -->
|
||||
<script src="demo_web.js"></script>
|
||||
<script src="egui_demo.js"></script>
|
||||
|
||||
<script>
|
||||
// We'll defer our execution until the wasm is ready to go.
|
||||
// Here we tell bindgen the path to the wasm file so it can start
|
||||
// initialization and return to us a promise when it's done.
|
||||
wasm_bindgen("./demo_web_bg.wasm")
|
||||
wasm_bindgen("./egui_demo_bg.wasm")
|
||||
.then(on_wasm_loaded)["catch"](console.error);
|
||||
|
||||
function on_wasm_loaded() {
|
||||
|
||||
Reference in New Issue
Block a user