summaryrefslogtreecommitdiff
path: root/2d/softbody/softbody_1/build.sh
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-11-17 06:58:13 -0500
committerMatthew Kosarek <mattkae@protonmail.com>2021-11-17 06:58:13 -0500
commita9de99cd643fbb1bb1555fd7206202fb600093e6 (patch)
tree4200bdcaf045f1a676c8f13825df2fed5ebb6f55 /2d/softbody/softbody_1/build.sh
parentfd3c1e74e7ebe9125b98dba311efcbe73e89859e (diff)
(mkosarek) Fixing the displacement displayer
Diffstat (limited to '2d/softbody/softbody_1/build.sh')
-rwxr-xr-x2d/softbody/softbody_1/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/softbody/softbody_1/build.sh b/2d/softbody/softbody_1/build.sh
index f1c15de..e1de1bb 100755
--- a/2d/softbody/softbody_1/build.sh
+++ b/2d/softbody/softbody_1/build.sh
@@ -13,4 +13,4 @@ if [ ! -d ./dist ]; then
fi
echo "$filepaths"
-emcc -o dist/output.js main.cpp undamped.cpp damped.cpp $filepaths -s ALLOW_MEMORY_GROWTH=1 -s USE_WEBGL2=1 -s FULL_ES3=1 -s WASM=1 -s NO_EXIT_RUNTIME=1
+emcc -o dist/output.js main.cpp undamped.cpp damped.cpp $filepaths -s ALLOW_MEMORY_GROWTH=1 -s USE_WEBGL2=1 -s FULL_ES3=1 -s WASM=1 -s NO_EXIT_RUNTIME=1 -s EXPORTED_RUNTIME_METHODS=cwrap