Browse Source

Publish new web demo

pull/200/head
Emil Ernerfeldt 4 years ago
parent
commit
8047a0f87f
  1. 400
      docs/egui_demo_app.js
  2. BIN
      docs/egui_demo_app_bg.wasm
  3. 2
      setup_web.sh
  4. 2
      start_server.sh

400
docs/egui_demo_app.js

@ -213,35 +213,35 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_26(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0a0b3efe25b33300(arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc22102c6e101bee7(arg0, arg1);
}
function __wbg_adapter_29(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087683853c378668(arg0, arg1, addHeapObject(arg2));
function __wbg_adapter_29(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h574b52f63803d867(arg0, arg1);
}
function __wbg_adapter_32(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087683853c378668(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3df0aaa88047cf1f(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_35(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087683853c378668(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3df0aaa88047cf1f(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_38(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087683853c378668(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3df0aaa88047cf1f(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_41(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5069ae6433c6fe9d(arg0, arg1);
function __wbg_adapter_41(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3df0aaa88047cf1f(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_44(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087683853c378668(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3df0aaa88047cf1f(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_47(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbcf910f8814a2c17(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h61acefb7930dc35f(arg0, arg1, addHeapObject(arg2));
}
/**
@ -320,6 +320,10 @@ async function init(input) {
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
var ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
@ -329,606 +333,602 @@ async function init(input) {
var ret = false;
return ret;
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
var ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbg_instanceof_WebGl2RenderingContext_f259b779e8a37d5d = function(arg0) {
imports.wbg.__wbg_instanceof_WebGl2RenderingContext_acac10ed74c696cb = function(arg0) {
var ret = getObject(arg0) instanceof WebGL2RenderingContext;
return ret;
};
imports.wbg.__wbg_drawingBufferWidth_77b91613e825969a = function(arg0) {
imports.wbg.__wbg_drawingBufferWidth_88ef8b0a2794d701 = function(arg0) {
var ret = getObject(arg0).drawingBufferWidth;
return ret;
};
imports.wbg.__wbg_drawingBufferHeight_89f51e858540dd7c = function(arg0) {
imports.wbg.__wbg_drawingBufferHeight_14333bdf86372817 = function(arg0) {
var ret = getObject(arg0).drawingBufferHeight;
return ret;
};
imports.wbg.__wbg_bufferData_813f25df0c990663 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_bufferData_80963d2bd1ecb1bc = function(arg0, arg1, arg2, arg3) {
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
};
imports.wbg.__wbg_texImage2D_d536e4106c099fee = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
imports.wbg.__wbg_texImage2D_a5dad82b8f689bbd = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));
});
imports.wbg.__wbg_activeTexture_ce973e4a1ff281c1 = function(arg0, arg1) {
imports.wbg.__wbg_activeTexture_32edab6336bd38a9 = function(arg0, arg1) {
getObject(arg0).activeTexture(arg1 >>> 0);
};
imports.wbg.__wbg_attachShader_435c833d3ca8f564 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_attachShader_5d53b7b00823cafb = function(arg0, arg1, arg2) {
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
};
imports.wbg.__wbg_bindBuffer_b45faf4508424c2a = function(arg0, arg1, arg2) {
imports.wbg.__wbg_bindBuffer_4a7874f09df12419 = function(arg0, arg1, arg2) {
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
};
imports.wbg.__wbg_bindTexture_13c5db7bd22b86cd = function(arg0, arg1, arg2) {
imports.wbg.__wbg_bindTexture_d659843380f373b5 = function(arg0, arg1, arg2) {
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
};
imports.wbg.__wbg_blendFunc_434c8a948bfa69fe = function(arg0, arg1, arg2) {
imports.wbg.__wbg_blendFunc_8bd5998b54c12fd3 = function(arg0, arg1, arg2) {
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
};
imports.wbg.__wbg_clear_e3b5c108ec1393b3 = function(arg0, arg1) {
imports.wbg.__wbg_clear_25e035ed3961f1c6 = function(arg0, arg1) {
getObject(arg0).clear(arg1 >>> 0);
};
imports.wbg.__wbg_clearColor_816770046d61cafd = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_clearColor_fc22409197a5bd68 = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
};
imports.wbg.__wbg_compileShader_d9cf97450ba46b86 = function(arg0, arg1) {
imports.wbg.__wbg_compileShader_f7e245515fa1405d = function(arg0, arg1) {
getObject(arg0).compileShader(getObject(arg1));
};
imports.wbg.__wbg_createBuffer_34aca55d34936cb7 = function(arg0) {
imports.wbg.__wbg_createBuffer_4302ddbcbfc99048 = function(arg0) {
var ret = getObject(arg0).createBuffer();
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_createProgram_7f512be46ef2090e = function(arg0) {
imports.wbg.__wbg_createProgram_128698dd90ec070d = function(arg0) {
var ret = getObject(arg0).createProgram();
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_createShader_c08686de7661eff0 = function(arg0, arg1) {
imports.wbg.__wbg_createShader_26e4f959d5d64d80 = function(arg0, arg1) {
var ret = getObject(arg0).createShader(arg1 >>> 0);
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_createTexture_2e23958a641af64b = function(arg0) {
imports.wbg.__wbg_createTexture_8ba2e566eb313fcf = function(arg0) {
var ret = getObject(arg0).createTexture();
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_disable_5a475e28b2154fa9 = function(arg0, arg1) {
imports.wbg.__wbg_disable_827be6d0f77447e1 = function(arg0, arg1) {
getObject(arg0).disable(arg1 >>> 0);
};
imports.wbg.__wbg_drawElements_c9d953f7687b4f81 = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_drawElements_c109bfea7998fd99 = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
};
imports.wbg.__wbg_enable_93767887882fa986 = function(arg0, arg1) {
imports.wbg.__wbg_enable_65590f4951fd0112 = function(arg0, arg1) {
getObject(arg0).enable(arg1 >>> 0);
};
imports.wbg.__wbg_enableVertexAttribArray_bb2bba2941e17b92 = function(arg0, arg1) {
imports.wbg.__wbg_enableVertexAttribArray_413ef49912a23f9e = function(arg0, arg1) {
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
};
imports.wbg.__wbg_getAttribLocation_b3fc46ba5862fead = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_getAttribLocation_422da253e02c78ac = function(arg0, arg1, arg2, arg3) {
var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
return ret;
};
imports.wbg.__wbg_getProgramInfoLog_41d3ebfde4246fd9 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getProgramInfoLog_f8f65be65281f691 = function(arg0, arg1, arg2) {
var ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
imports.wbg.__wbg_getProgramParameter_4e13e6daab89623e = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getProgramParameter_b949ba1d9662f6a2 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_getShaderInfoLog_c9bbabb140e03d0f = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getShaderInfoLog_5412e8bc642139e8 = function(arg0, arg1, arg2) {
var ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
imports.wbg.__wbg_getShaderParameter_05fa9af4df7ed8dd = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getShaderParameter_cced0ff8ba83f3e7 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_getUniformLocation_39124d965f679564 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_getUniformLocation_472b7459010900a5 = function(arg0, arg1, arg2, arg3) {
var ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_linkProgram_8bc3021aa40f0948 = function(arg0, arg1) {
imports.wbg.__wbg_linkProgram_370ed11b34456c89 = function(arg0, arg1) {
getObject(arg0).linkProgram(getObject(arg1));
};
imports.wbg.__wbg_pixelStorei_2f4fcd552ae27dd2 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_pixelStorei_d2b5d30ea97fc3ba = function(arg0, arg1, arg2) {
getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
};
imports.wbg.__wbg_scissor_19ca00c5404b43a5 = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_scissor_1f78ef0050a93516 = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
};
imports.wbg.__wbg_shaderSource_2dcc20f3552ae568 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_shaderSource_96ace5133c032f2f = function(arg0, arg1, arg2, arg3) {
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
};
imports.wbg.__wbg_texParameteri_c36a2e80bbd50560 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_texParameteri_c0b2b665319f6a16 = function(arg0, arg1, arg2, arg3) {
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
};
imports.wbg.__wbg_uniform1i_5e235ac3cc8f8e9f = function(arg0, arg1, arg2) {
imports.wbg.__wbg_uniform1i_a1e8f5ad954fa6b5 = function(arg0, arg1, arg2) {
getObject(arg0).uniform1i(getObject(arg1), arg2);
};
imports.wbg.__wbg_uniform2f_607e30643c51a99d = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_uniform2f_ab7c909be2949448 = function(arg0, arg1, arg2, arg3) {
getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
};
imports.wbg.__wbg_useProgram_e1334a2752ff3d80 = function(arg0, arg1) {
imports.wbg.__wbg_useProgram_b1cc885b00b8f52c = function(arg0, arg1) {
getObject(arg0).useProgram(getObject(arg1));
};
imports.wbg.__wbg_vertexAttribPointer_8781b6e5c846817e = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
imports.wbg.__wbg_vertexAttribPointer_3bb013e284cd07bf = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
};
imports.wbg.__wbg_viewport_7e9633b09867dbf5 = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_viewport_86b156d5858adab9 = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
};
imports.wbg.__wbg_instanceof_Window_fbe0320f34c4cd31 = function(arg0) {
imports.wbg.__wbg_instanceof_Window_fa4595281eb5ba83 = function(arg0) {
var ret = getObject(arg0) instanceof Window;
return ret;
};
imports.wbg.__wbg_document_2b44f2a86e03665a = function(arg0) {
imports.wbg.__wbg_document_d8cce4c1031c64eb = function(arg0) {
var ret = getObject(arg0).document;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_location_df2a42f020b6b0fe = function(arg0) {
imports.wbg.__wbg_location_f8de588551329bf4 = function(arg0) {
var ret = getObject(arg0).location;
return addHeapObject(ret);
};
imports.wbg.__wbg_navigator_74ca2cbc2348b985 = function(arg0) {
imports.wbg.__wbg_navigator_fbf745329c64378b = function(arg0) {
var ret = getObject(arg0).navigator;
return addHeapObject(ret);
};
imports.wbg.__wbg_innerWidth_c4fa0fec0fd477b8 = handleError(function(arg0) {
imports.wbg.__wbg_innerWidth_aab6ec3242dff39e = handleError(function(arg0) {
var ret = getObject(arg0).innerWidth;
return addHeapObject(ret);
});
imports.wbg.__wbg_innerHeight_6344b1c89c013158 = handleError(function(arg0) {
imports.wbg.__wbg_innerHeight_7e514d9823f7864e = handleError(function(arg0) {
var ret = getObject(arg0).innerHeight;
return addHeapObject(ret);
});
imports.wbg.__wbg_devicePixelRatio_36c226e2b5d4b9c7 = function(arg0) {
imports.wbg.__wbg_devicePixelRatio_dc4405584b5cb63f = function(arg0) {
var ret = getObject(arg0).devicePixelRatio;
return ret;
};
imports.wbg.__wbg_performance_eee010e5e49f08df = function(arg0) {
imports.wbg.__wbg_performance_800ff37c906b5f3b = function(arg0) {
var ret = getObject(arg0).performance;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_localStorage_bab0c25407317e26 = handleError(function(arg0) {
imports.wbg.__wbg_localStorage_a79a5d8ee7487fcb = handleError(function(arg0) {
var ret = getObject(arg0).localStorage;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
});
imports.wbg.__wbg_open_d685c54bbb3f25ce = handleError(function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_open_c8c0fa97b521eb3d = handleError(function(arg0, arg1, arg2, arg3, arg4) {
var ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
});
imports.wbg.__wbg_requestAnimationFrame_65ebf8f2415064e2 = handleError(function(arg0, arg1) {
imports.wbg.__wbg_requestAnimationFrame_ef037dc409649fbf = handleError(function(arg0, arg1) {
var ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
return ret;
});
imports.wbg.__wbg_fetch_99437343e599cf5a = function(arg0, arg1) {
imports.wbg.__wbg_fetch_c30edd07fd98da6f = function(arg0, arg1) {
var ret = getObject(arg0).fetch(getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_setInterval_006c702c8f19b4ce = handleError(function(arg0, arg1, arg2) {
imports.wbg.__wbg_setInterval_f3122aab24298341 = handleError(function(arg0, arg1, arg2) {
var ret = getObject(arg0).setInterval(getObject(arg1), arg2);
return ret;
});
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
var ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbg_clipboardData_ec44352cadfae7fd = function(arg0) {
imports.wbg.__wbg_clipboardData_4bedac27f56cd374 = function(arg0) {
var ret = getObject(arg0).clipboardData;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_getItem_3af4bbb09db34f91 = handleError(function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_getItem_3fc9a85a5c86c097 = handleError(function(arg0, arg1, arg2, arg3) {
var ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3));
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
});
imports.wbg.__wbg_setItem_9adee84a49a67e70 = handleError(function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_setItem_99592651ffc703f6 = handleError(function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
});
imports.wbg.__wbg_setProperty_e3d42ccff5ebac2f = handleError(function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_setProperty_881bd3ab228526b3 = handleError(function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
});
imports.wbg.__wbg_addEventListener_63378230aa6735d7 = handleError(function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_addEventListener_9b66d58c2a9ba39a = handleError(function(arg0, arg1, arg2, arg3) {
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
});
imports.wbg.__wbg_hash_0522c66963abec0e = handleError(function(arg0, arg1) {
imports.wbg.__wbg_hash_f1a1e37355e44338 = handleError(function(arg0, arg1) {
var ret = getObject(arg1).hash;
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
});
imports.wbg.__wbg_clientX_df24871aabb01061 = function(arg0) {
imports.wbg.__wbg_clientX_9708d75fb355c54c = function(arg0) {
var ret = getObject(arg0).clientX;
return ret;
};
imports.wbg.__wbg_clientY_b91be9a030c7bd7c = function(arg0) {
imports.wbg.__wbg_clientY_73c641398c4e5a64 = function(arg0) {
var ret = getObject(arg0).clientY;
return ret;
};
imports.wbg.__wbg_button_d650056716876a47 = function(arg0) {
imports.wbg.__wbg_button_75c49405361e7da4 = function(arg0) {
var ret = getObject(arg0).button;
return ret;
};
imports.wbg.__wbg_get_fc99aacf8fcc6401 = handleError(function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
var ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbg_get_a7d9eebbf0eb3c3c = handleError(function(arg0, arg1, arg2, arg3) {
var ret = getObject(arg1).get(getStringFromWasm0(arg2, arg3));
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
});
imports.wbg.__wbg_set_6676dcd9a717a04d = handleError(function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_set_54139e722a2749ff = handleError(function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
});
imports.wbg.__wbg_deltaX_6db9b75fa9a51024 = function(arg0) {
imports.wbg.__wbg_deltaX_1eb557c7e0056588 = function(arg0) {
var ret = getObject(arg0).deltaX;
return ret;
};
imports.wbg.__wbg_deltaY_f2e82bfd030f24e4 = function(arg0) {
imports.wbg.__wbg_deltaY_1ab9240217b48aa3 = function(arg0) {
var ret = getObject(arg0).deltaY;
return ret;
};
imports.wbg.__wbg_instanceof_Response_692fcbbfbfd64a77 = function(arg0) {
imports.wbg.__wbg_instanceof_Response_f893353f25f6c750 = function(arg0) {
var ret = getObject(arg0) instanceof Response;
return ret;
};
imports.wbg.__wbg_url_9824072ca68971fa = function(arg0, arg1) {
imports.wbg.__wbg_url_bd50e4cf831976cf = function(arg0, arg1) {
var ret = getObject(arg1).url;
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
imports.wbg.__wbg_status_10f0636ee9065069 = function(arg0) {
imports.wbg.__wbg_status_050df54e85254c67 = function(arg0) {
var ret = getObject(arg0).status;
return ret;
};
imports.wbg.__wbg_ok_015f6396ebd3dd20 = function(arg0) {
imports.wbg.__wbg_ok_d06e6350ed60ddf4 = function(arg0) {
var ret = getObject(arg0).ok;
return ret;
};
imports.wbg.__wbg_statusText_da0c86eaa585c11a = function(arg0, arg1) {
imports.wbg.__wbg_statusText_a808b61d9209f6c5 = function(arg0, arg1) {
var ret = getObject(arg1).statusText;
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
imports.wbg.__wbg_headers_35e4eb2d79ac768c = function(arg0) {
imports.wbg.__wbg_headers_b803c3e004351cb0 = function(arg0) {
var ret = getObject(arg0).headers;
return addHeapObject(ret);
};
imports.wbg.__wbg_arrayBuffer_02aa93c3b506b861 = handleError(function(arg0) {
imports.wbg.__wbg_arrayBuffer_c5e630358019dfa0 = handleError(function(arg0) {
var ret = getObject(arg0).arrayBuffer();
return addHeapObject(ret);
});
imports.wbg.__wbg_writeText_cacf5a0e39e301cf = function(arg0, arg1, arg2) {
imports.wbg.__wbg_writeText_e983d95839d0564f = function(arg0, arg1, arg2) {
var ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_now_5ae3d18d57dd226f = function(arg0) {
imports.wbg.__wbg_now_9f22124bc74da886 = function(arg0) {
var ret = getObject(arg0).now();
return ret;
};
imports.wbg.__wbg_headers_7fa1db3bfec6d840 = function(arg0) {
imports.wbg.__wbg_headers_cea143192f231804 = function(arg0) {
var ret = getObject(arg0).headers;
return addHeapObject(ret);
};
imports.wbg.__wbg_newwithstrandinit_ddb9c1fa02972c36 = handleError(function(arg0, arg1, arg2) {
imports.wbg.__wbg_newwithstrandinit_18c41e1aaab4972f = handleError(function(arg0, arg1, arg2) {
var ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
return addHeapObject(ret);
});
imports.wbg.__wbg_pageX_01bbaa9beb5a888a = function(arg0) {
imports.wbg.__wbg_pageX_01c8418913761f98 = function(arg0) {
var ret = getObject(arg0).pageX;
return ret;
};
imports.wbg.__wbg_pageY_425d105722cec4ca = function(arg0) {
imports.wbg.__wbg_pageY_74d7bf8fe7866455 = function(arg0) {
var ret = getObject(arg0).pageY;
return ret;
};
imports.wbg.__wbg_get_4b868e0c7c29b08d = function(arg0, arg1) {
imports.wbg.__wbg_get_5fbce9875ca09f4a = function(arg0, arg1) {
var ret = getObject(arg0)[arg1 >>> 0];
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_body_08ba7a3043ff8e77 = function(arg0) {
imports.wbg.__wbg_body_52b3f453148fd124 = function(arg0) {
var ret = getObject(arg0).body;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_getElementById_5bd6efc3d82494aa = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getElementById_aeb1b7331ed88a97 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_getBoundingClientRect_813f74e2f4f344e2 = function(arg0) {
imports.wbg.__wbg_getBoundingClientRect_6c4d67366fb08e31 = function(arg0) {
var ret = getObject(arg0).getBoundingClientRect();
return addHeapObject(ret);
};
imports.wbg.__wbg_instanceof_WebGlRenderingContext_5f4db52925ef5603 = function(arg0) {
imports.wbg.__wbg_instanceof_WebGlRenderingContext_bf4c1c161cce63d8 = function(arg0) {
var ret = getObject(arg0) instanceof WebGLRenderingContext;
return ret;
};
imports.wbg.__wbg_drawingBufferWidth_51e376364ab971e8 = function(arg0) {
imports.wbg.__wbg_drawingBufferWidth_b31cf22e5817f6db = function(arg0) {
var ret = getObject(arg0).drawingBufferWidth;
return ret;
};
imports.wbg.__wbg_drawingBufferHeight_175f02c35a99ff7e = function(arg0) {
imports.wbg.__wbg_drawingBufferHeight_985e8a982ad94907 = function(arg0) {
var ret = getObject(arg0).drawingBufferHeight;
return ret;
};
imports.wbg.__wbg_bufferData_283c9170f3c599d2 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_bufferData_1e028cc0639f0264 = function(arg0, arg1, arg2, arg3) {
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
};
imports.wbg.__wbg_texImage2D_7f7a5392c50ea340 = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
imports.wbg.__wbg_texImage2D_b1d95ccb3f8fd616 = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));
});
imports.wbg.__wbg_activeTexture_cfc15ec752ffb9c4 = function(arg0, arg1) {
imports.wbg.__wbg_activeTexture_ccd864030355beba = function(arg0, arg1) {
getObject(arg0).activeTexture(arg1 >>> 0);
};
imports.wbg.__wbg_attachShader_b10f3a6e94e2e190 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_attachShader_176dfde48c626eb8 = function(arg0, arg1, arg2) {
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
};
imports.wbg.__wbg_bindBuffer_cdca8a246dc033e5 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_bindBuffer_aff83e0a72ebe9c6 = function(arg0, arg1, arg2) {
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
};
imports.wbg.__wbg_bindTexture_36a5955154ca7269 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_bindTexture_3c4cdd29edc870f9 = function(arg0, arg1, arg2) {
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
};
imports.wbg.__wbg_blendFunc_b45bbe6bc5e17dd6 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_blendFunc_ae81cbf4e0169885 = function(arg0, arg1, arg2) {
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
};
imports.wbg.__wbg_clear_c7bb0cc46853ad89 = function(arg0, arg1) {
imports.wbg.__wbg_clear_4026459dc218d806 = function(arg0, arg1) {
getObject(arg0).clear(arg1 >>> 0);
};
imports.wbg.__wbg_clearColor_8b13b519ef2dd2d7 = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_clearColor_3feff7be5983725c = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
};
imports.wbg.__wbg_compileShader_406e03b35834cb67 = function(arg0, arg1) {
imports.wbg.__wbg_compileShader_b154f866a37ef240 = function(arg0, arg1) {
getObject(arg0).compileShader(getObject(arg1));
};
imports.wbg.__wbg_createBuffer_bad9101b9d0e33e7 = function(arg0) {
imports.wbg.__wbg_createBuffer_9cd00017c8012ded = function(arg0) {
var ret = getObject(arg0).createBuffer();
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_createProgram_19eb97f37bc7d978 = function(arg0) {
imports.wbg.__wbg_createProgram_1dc1d5b4f815c74e = function(arg0) {
var ret = getObject(arg0).createProgram();
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_createShader_16e76257819c682b = function(arg0, arg1) {
imports.wbg.__wbg_createShader_a568ae9716cf79bd = function(arg0, arg1) {
var ret = getObject(arg0).createShader(arg1 >>> 0);
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_createTexture_3008adb3eb4b8e63 = function(arg0) {
imports.wbg.__wbg_createTexture_9165d6614a3f8c26 = function(arg0) {
var ret = getObject(arg0).createTexture();
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_disable_b943997108c3320a = function(arg0, arg1) {
imports.wbg.__wbg_disable_71a7779d266ab83f = function(arg0, arg1) {
getObject(arg0).disable(arg1 >>> 0);
};
imports.wbg.__wbg_drawElements_c16ecda7ff210a65 = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_drawElements_567b7125cfe5debf = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
};
imports.wbg.__wbg_enable_98a346f4f5f740b7 = function(arg0, arg1) {
imports.wbg.__wbg_enable_8c08778f17ea82d3 = function(arg0, arg1) {
getObject(arg0).enable(arg1 >>> 0);
};
imports.wbg.__wbg_enableVertexAttribArray_c7db971134fe1d3c = function(arg0, arg1) {
imports.wbg.__wbg_enableVertexAttribArray_19841ca8c10ee785 = function(arg0, arg1) {
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
};
imports.wbg.__wbg_getAttribLocation_8ce6818f0f36aca9 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_getAttribLocation_3cbba362123e3451 = function(arg0, arg1, arg2, arg3) {
var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
return ret;
};
imports.wbg.__wbg_getProgramInfoLog_efa3ee9c01a6c5d6 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getProgramInfoLog_b3af1c1f2f050ac5 = function(arg0, arg1, arg2) {
var ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
imports.wbg.__wbg_getProgramParameter_f1068d691eca8e1f = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getProgramParameter_15c77e6ded344978 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_getShaderInfoLog_c942a4f3fa1537cf = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getShaderInfoLog_62bc93f21372bbdb = function(arg0, arg1, arg2) {
var ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
imports.wbg.__wbg_getShaderParameter_f330a1f677514bd0 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_getShaderParameter_b652420e47ea83c3 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_getUniformLocation_e97e7d6bc3036b6d = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_getUniformLocation_0e74513fa8e0fcef = function(arg0, arg1, arg2, arg3) {
var ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_linkProgram_dc8c83ec66322d5e = function(arg0, arg1) {
imports.wbg.__wbg_linkProgram_0a51f6ca8e067ba7 = function(arg0, arg1) {
getObject(arg0).linkProgram(getObject(arg1));
};
imports.wbg.__wbg_scissor_2cbe53f411318ac2 = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_scissor_53f081ef55d3977d = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
};
imports.wbg.__wbg_shaderSource_d8cce8917aa7df4a = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_shaderSource_9f03812e74c7504e = function(arg0, arg1, arg2, arg3) {
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
};
imports.wbg.__wbg_texParameteri_d05bbe24288d7efb = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_texParameteri_26de60b40766928f = function(arg0, arg1, arg2, arg3) {
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
};
imports.wbg.__wbg_uniform1i_7b9b67ffae83a0d7 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_uniform1i_6a282c117216b6ef = function(arg0, arg1, arg2) {
getObject(arg0).uniform1i(getObject(arg1), arg2);
};
imports.wbg.__wbg_uniform2f_fe51130cfa399aba = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_uniform2f_2c62de1e5acc87da = function(arg0, arg1, arg2, arg3) {
getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
};
imports.wbg.__wbg_useProgram_5a83ef734fbc034b = function(arg0, arg1) {
imports.wbg.__wbg_useProgram_9174cae30cc67e4d = function(arg0, arg1) {
getObject(arg0).useProgram(getObject(arg1));
};
imports.wbg.__wbg_vertexAttribPointer_e809b011773856d1 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
imports.wbg.__wbg_vertexAttribPointer_f1d73baac9e3b6e9 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
};
imports.wbg.__wbg_viewport_d6e0a7f81b3499c9 = function(arg0, arg1, arg2, arg3, arg4) {
imports.wbg.__wbg_viewport_f89fe7da7b1e24e2 = function(arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
};
imports.wbg.__wbg_error_9783be44659339ea = function(arg0) {
imports.wbg.__wbg_error_c81c8d172df3cb18 = function(arg0) {
console.error(getObject(arg0));
};
imports.wbg.__wbg_log_2e875b1d2f6f87ac = function(arg0) {
imports.wbg.__wbg_log_8485ead621ceded9 = function(arg0) {
console.log(getObject(arg0));
};
imports.wbg.__wbg_warn_632e55193637edf0 = function(arg0) {
imports.wbg.__wbg_warn_eb158fa0859088bf = function(arg0) {
console.warn(getObject(arg0));
};
imports.wbg.__wbg_style_854f82bcc16efd28 = function(arg0) {
imports.wbg.__wbg_style_6840ca6f1c83499f = function(arg0) {
var ret = getObject(arg0).style;
return addHeapObject(ret);
};
imports.wbg.__wbg_getData_bad7d89ac31627cf = handleError(function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_getData_aae824057b9628a8 = handleError(function(arg0, arg1, arg2, arg3) {
var ret = getObject(arg1).getData(getStringFromWasm0(arg2, arg3));
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
});
imports.wbg.__wbg_instanceof_HtmlCanvasElement_bd2459c62d076bcd = function(arg0) {
imports.wbg.__wbg_instanceof_HtmlCanvasElement_c9f334afe4eed430 = function(arg0) {
var ret = getObject(arg0) instanceof HTMLCanvasElement;
return ret;
};
imports.wbg.__wbg_width_8225e9e48185d280 = function(arg0) {
imports.wbg.__wbg_width_726d17d6876631b4 = function(arg0) {
var ret = getObject(arg0).width;
return ret;
};
imports.wbg.__wbg_setwidth_80b60efe20240a3e = function(arg0, arg1) {
imports.wbg.__wbg_setwidth_41b2497107faaff7 = function(arg0, arg1) {
getObject(arg0).width = arg1 >>> 0;
};
imports.wbg.__wbg_height_c55678b905b560e1 = function(arg0) {
imports.wbg.__wbg_height_5fd8d13e879338d0 = function(arg0) {
var ret = getObject(arg0).height;
return ret;
};
imports.wbg.__wbg_setheight_5c308278bb4139ed = function(arg0, arg1) {
imports.wbg.__wbg_setheight_e15cb9243262e701 = function(arg0, arg1) {
getObject(arg0).height = arg1 >>> 0;
};
imports.wbg.__wbg_getContext_7f0328be9fe8c1ec = handleError(function(arg0, arg1, arg2) {
imports.wbg.__wbg_getContext_d277f710e8035242 = handleError(function(arg0, arg1, arg2) {
var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
});
imports.wbg.__wbg_keyCode_9de4c14bf3d88f3c = function(arg0) {
imports.wbg.__wbg_keyCode_4390925021a31546 = function(arg0) {
var ret = getObject(arg0).keyCode;
return ret;
};
imports.wbg.__wbg_altKey_9a5448cda4b8c161 = function(arg0) {
imports.wbg.__wbg_altKey_9ead66021848aa74 = function(arg0) {
var ret = getObject(arg0).altKey;
return ret;
};
imports.wbg.__wbg_ctrlKey_3b651d58cff29579 = function(arg0) {
imports.wbg.__wbg_ctrlKey_1e3e28894d756523 = function(arg0) {
var ret = getObject(arg0).ctrlKey;
return ret;
};
imports.wbg.__wbg_shiftKey_64fbb7a0afa8c5fa = function(arg0) {
imports.wbg.__wbg_shiftKey_bf56a659d464f031 = function(arg0) {
var ret = getObject(arg0).shiftKey;
return ret;
};
imports.wbg.__wbg_metaKey_4a44b03d9be0f1aa = function(arg0) {
imports.wbg.__wbg_metaKey_ad3c08fec6e4d71d = function(arg0) {
var ret = getObject(arg0).metaKey;
return ret;
};
imports.wbg.__wbg_isComposing_896ecc05316676f2 = function(arg0) {
imports.wbg.__wbg_isComposing_bb034058b069282b = function(arg0) {
var ret = getObject(arg0).isComposing;
return ret;
};
imports.wbg.__wbg_key_3cc6551a67a37a79 = function(arg0, arg1) {
imports.wbg.__wbg_key_8642816c7d0fb736 = function(arg0, arg1) {
var ret = getObject(arg1).key;
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
imports.wbg.__wbg_preventDefault_4eb36ec8e5563ad6 = function(arg0) {
imports.wbg.__wbg_preventDefault_2a53c6dce5093030 = function(arg0) {
getObject(arg0).preventDefault();
};
imports.wbg.__wbg_stopPropagation_a8397a950849e3f6 = function(arg0) {
imports.wbg.__wbg_stopPropagation_6177617793da16e6 = function(arg0) {
getObject(arg0).stopPropagation();
};
imports.wbg.__wbg_touches_38b5f2318ddffd2b = function(arg0) {
imports.wbg.__wbg_touches_335f913c6a1e3a84 = function(arg0) {
var ret = getObject(arg0).touches;
return addHeapObject(ret);
};
imports.wbg.__wbg_top_759d072a3a15fd13 = function(arg0) {
imports.wbg.__wbg_top_8ad808e9af99b597 = function(arg0) {
var ret = getObject(arg0).top;
return ret;
};
imports.wbg.__wbg_left_515d30ed4e76f921 = function(arg0) {
imports.wbg.__wbg_left_1761db11f4e18020 = function(arg0) {
var ret = getObject(arg0).left;
return ret;
};
imports.wbg.__wbg_clipboard_06b3f6375fedd3b7 = function(arg0) {
imports.wbg.__wbg_clipboard_67a1615c8102f26e = function(arg0) {
var ret = getObject(arg0).clipboard;
return addHeapObject(ret);
};
imports.wbg.__wbg_call_ab183a630df3a257 = handleError(function(arg0, arg1) {
imports.wbg.__wbg_call_8487a9f580e47219 = handleError(function(arg0, arg1) {
var ret = getObject(arg0).call(getObject(arg1));
return addHeapObject(ret);
});
imports.wbg.__wbg_newnoargs_ab5e899738c0eff4 = function(arg0, arg1) {
imports.wbg.__wbg_newnoargs_179d393e4626fcf7 = function(arg0, arg1) {
var ret = new Function(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_getHours_a4567070ccd729ea = function(arg0) {
imports.wbg.__wbg_getHours_1af63180ed11b49d = function(arg0) {
var ret = getObject(arg0).getHours();
return ret;
};
imports.wbg.__wbg_getMilliseconds_6431a1597f620f9f = function(arg0) {
imports.wbg.__wbg_getMilliseconds_bde52242127a5c03 = function(arg0) {
var ret = getObject(arg0).getMilliseconds();
return ret;
};
imports.wbg.__wbg_getMinutes_64a0cad5794f4969 = function(arg0) {
imports.wbg.__wbg_getMinutes_9c21a27a8849d22a = function(arg0) {
var ret = getObject(arg0).getMinutes();
return ret;
};
imports.wbg.__wbg_getSeconds_8eb60717571f83cf = function(arg0) {
imports.wbg.__wbg_getSeconds_c5431d6c48f9ed3c = function(arg0) {
var ret = getObject(arg0).getSeconds();
return ret;
};
imports.wbg.__wbg_new0_1dc5063f3422cdfe = function() {
imports.wbg.__wbg_new0_8c7faee4e4e8144d = function() {
var ret = new Date();
return addHeapObject(ret);
};
imports.wbg.__wbg_new_dc5b27cfd2149b8f = function() {
imports.wbg.__wbg_new_b0b535e7b597e9c1 = function() {
var ret = new Object();
return addHeapObject(ret);
};
imports.wbg.__wbg_resolve_9b0f9ddf5f89cb1e = function(arg0) {
imports.wbg.__wbg_resolve_dcf7d6a479f5b166 = function(arg0) {
var ret = Promise.resolve(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_then_b4358f6ec1ee6657 = function(arg0, arg1) {
imports.wbg.__wbg_then_16d483233321aac8 = function(arg0, arg1) {
var ret = getObject(arg0).then(getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_then_3d9a54b0affdf26d = function(arg0, arg1, arg2) {
imports.wbg.__wbg_then_c95977e365944fff = function(arg0, arg1, arg2) {
var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_self_77eca7b42660e1bb = handleError(function() {
imports.wbg.__wbg_self_eeabd9085c04fc17 = handleError(function() {
var ret = self.self;
return addHeapObject(ret);
});
imports.wbg.__wbg_window_51dac01569f1ba70 = handleError(function() {
imports.wbg.__wbg_window_f110c13310da2c8f = handleError(function() {
var ret = window.window;
return addHeapObject(ret);
});
imports.wbg.__wbg_globalThis_34bac2d08ebb9b58 = handleError(function() {
imports.wbg.__wbg_globalThis_a2669bee93faee43 = handleError(function() {
var ret = globalThis.globalThis;
return addHeapObject(ret);
});
imports.wbg.__wbg_global_1c436164a66c9c22 = handleError(function() {
imports.wbg.__wbg_global_a5584d717f4d6761 = handleError(function() {
var ret = global.global;
return addHeapObject(ret);
});
@ -936,46 +936,46 @@ async function init(input) {
var ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbg_buffer_bc64154385c04ac4 = function(arg0) {
imports.wbg.__wbg_buffer_e35e010c3ba9f945 = function(arg0) {
var ret = getObject(arg0).buffer;
return addHeapObject(ret);
};
imports.wbg.__wbg_new_82fd9bbed79f6672 = function(arg0) {
imports.wbg.__wbg_new_5b74a8dd0c5b71ac = function(arg0) {
var ret = new Int16Array(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_new_22a33711cf65b661 = function(arg0) {
imports.wbg.__wbg_new_139e70222494b1ff = function(arg0) {
var ret = new Uint8Array(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_set_b29de3f25280c6ec = function(arg0, arg1, arg2) {
imports.wbg.__wbg_set_d771848e3c7935bb = function(arg0, arg1, arg2) {
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
};
imports.wbg.__wbg_length_e9f6f145de2fede5 = function(arg0) {
imports.wbg.__wbg_length_2cfa674c2a529bc1 = function(arg0) {
var ret = getObject(arg0).length;
return ret;
};
imports.wbg.__wbg_new_48c5d6d65ec9a035 = function(arg0) {
imports.wbg.__wbg_new_fe24eae01e10f223 = function(arg0) {
var ret = new Float32Array(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_subarray_727edf3b61f2ccfa = function(arg0, arg1, arg2) {
imports.wbg.__wbg_subarray_7b811f5c80cb90d3 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_subarray_6b2dd31c84ee881f = function(arg0, arg1, arg2) {
imports.wbg.__wbg_subarray_8a52f1c1a11c02a8 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_subarray_c9acd3f2f4dd697d = function(arg0, arg1, arg2) {
imports.wbg.__wbg_subarray_3c6f7cfb4edcc351 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_instanceof_Memory_8a6f3ecc27e7fe29 = function(arg0) {
imports.wbg.__wbg_instanceof_Memory_7ec765ef65ff7aaa = function(arg0) {
var ret = getObject(arg0) instanceof WebAssembly.Memory;
return ret;
};
imports.wbg.__wbg_set_3afd31f38e771338 = handleError(function(arg0, arg1, arg2) {
imports.wbg.__wbg_set_c1d44124a051a5e7 = handleError(function(arg0, arg1, arg2) {
var ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
return ret;
});
@ -1015,36 +1015,36 @@ async function init(input) {
var ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1200 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper1486 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1201 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_29);
imports.wbg.__wbindgen_closure_wrapper1487 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_29);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1203 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper1489 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1205 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_35);
imports.wbg.__wbindgen_closure_wrapper1491 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_35);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1208 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_38);
imports.wbg.__wbindgen_closure_wrapper1493 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_38);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1210 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_41);
imports.wbg.__wbindgen_closure_wrapper1496 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_41);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1212 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_44);
imports.wbg.__wbindgen_closure_wrapper1498 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_44);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper2562 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 457, __wbg_adapter_47);
imports.wbg.__wbindgen_closure_wrapper2625 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 465, __wbg_adapter_47);
return addHeapObject(ret);
};

BIN
docs/egui_demo_app_bg.wasm

Binary file not shown.

2
setup_web.sh

@ -4,4 +4,4 @@ set -eu
# Pre-requisites:
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli
cargo update
cargo update -p wasm-bindgen

2
start_server.sh

@ -1,7 +1,7 @@
#!/bin/bash
set -eu
# Starts a local web-server that servs the contents of the `doc/` folder,
# Starts a local web-server that serves the contents of the `doc/` folder,
# i.e. the web-version of `egui_demo_app`.
cargo install basic-http-server

Loading…
Cancel
Save