summaryrefslogtreecommitdiff
path: root/themes/dist
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-10-16 07:45:45 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-10-16 07:45:45 -0400
commit5ee0e7a8dbd647b79073beee88e82870e181b363 (patch)
tree3b1ce8dce5f83748ab4afebb4da03e95baffbc47 /themes/dist
parentb425e7577b5ef405db42184911f9234c953030b8 (diff)
Tree that moves around more believably
Diffstat (limited to 'themes/dist')
-rw-r--r--themes/dist/output.js11
-rwxr-xr-xthemes/dist/output.wasmbin56705 -> 57898 bytes
2 files changed, 10 insertions, 1 deletions
diff --git a/themes/dist/output.js b/themes/dist/output.js
index 2dd2a7d..79b5f23 100644
--- a/themes/dist/output.js
+++ b/themes/dist/output.js
@@ -2969,6 +2969,14 @@ var ASM_CONSTS = {
function _setTempRet0(val) {
setTempRet0(val);
}
+
+ function _time(ptr) {
+ var ret = (Date.now()/1000)|0;
+ if (ptr) {
+ HEAP32[((ptr)>>2)] = ret;
+ }
+ return ret;
+ }
var GLctx;;
var miniTempWebGLFloatBuffersStorage = new Float32Array(288);
for (/**@suppress{duplicate}*/var i = 0; i < 288; ++i) {
@@ -3051,7 +3059,8 @@ var asmLibraryArg = {
"glUniformMatrix4fv": _glUniformMatrix4fv,
"glUseProgram": _glUseProgram,
"glVertexAttribPointer": _glVertexAttribPointer,
- "setTempRet0": _setTempRet0
+ "setTempRet0": _setTempRet0,
+ "time": _time
};
var asm = createWasm();
/** @type {function(...*):?} */
diff --git a/themes/dist/output.wasm b/themes/dist/output.wasm
index f994bca..8319928 100755
--- a/themes/dist/output.wasm
+++ b/themes/dist/output.wasm
Binary files differ