feat/webworker: work in progress [might break]
All checks were successful
/ test (push) Successful in 9s

This commit is contained in:
Leon van Kammen 2024-10-03 10:47:16 +00:00
parent d5ee31aefc
commit ccae04c15c
3 changed files with 7 additions and 7 deletions

8
make
View file

@ -1,5 +1,5 @@
#!/bin/sh
REDBEAN_VERSION=https://redbean.dev/redbean-2.2.com
REDBEAN_VERSION=https://redbean.dev/redbean-3.0.0.com
APP=xrsh
DIR=$(dirname $(readlink -f $0))
@ -17,10 +17,10 @@ deps(){ # check dependencies
standalone(){ # build standalone xrsh.com binary
rm ${APP}.com || true
deps
cp index.html /tmp/index.html
sed -i 's|isoterminal=".*"|isoterminal="iso: ./../xrsh.iso"|g' index.html
#cp index.html /tmp/index.html
#sed -i 's|isoterminal=".*"|isoterminal="iso: ./../xrsh.iso"|g' index.html
zip -x "*.git*" -r ${APP}.com index.html xrsh.iso .args LICENSE src/index.{html,css} src/assets src/com/*.js src/com/isoterminal/{libv86.js,bios,v86.wasm,feat,core.js}
cp /tmp/index.html index.html
#cp /tmp/index.html index.html
sha256sum ${APP}.com > ${APP}.txt
ls -lah ${APP}.com
}

View file

@ -16,7 +16,7 @@
light="defaultLightsEnabled: true"
cursor="rayOrigin: mouse"
renderer="colorManagement: false; antialias:true; highRefreshRate:true; foveationLevel: 0.5; toneMapping: linear; exposure: 1.3"
xr-mode-ui="XRMode: ar"
xr-mode-ui="XRMode: xr"
obb-collider="showColliders:false"
raycaster="objects: [html]; interval:100;">
@ -36,7 +36,7 @@
<a-entity launcher-optional="comps: cast,aframestats,paste,save,xrfragments,example/helloworld-iframe,example/helloworld-htmlform,example/helloworld-window,look-controls-toggle,wasd-controls-toggle"></a-entity>
<a-entity noxrf gltf-model="#environment" hide-on-enter-ar></a-entity>
-->
<a-entity isoterminal="iso: ./../xrsh.iso"></a-entity>
<a-entity isoterminal="iso: ./../xrsh.iso" position="0 1.6 -0.5"></a-entity>
<a-entity id="player" >

@ -1 +1 @@
Subproject commit 35ff5dc710d9e92a7803a3ab3f66c1fc35bf516d
Subproject commit 0e8d173289a7d1cabfd83a9cab703ae177542a8a