diff --git a/buildroot-v86/board/v86/rootfs_overlay/root/index.js b/buildroot-v86/board/v86/rootfs_overlay/root/index.js index 5f59346..e8b89bd 100755 --- a/buildroot-v86/board/v86/rootfs_overlay/root/index.js +++ b/buildroot-v86/board/v86/rootfs_overlay/root/index.js @@ -2,7 +2,7 @@ console.log("/root/index.js: hello world") function doTHREE(){ - const scene = AFRAME.scenes[0] + const scene = AFRAME.scenes[0].object3D const object = new THREE.Mesh( new THREE.BoxGeometry(1, 1, 1), new THREE.MeshBasicMaterial({ color: 0xff0000 }) @@ -12,6 +12,6 @@ function doTHREE(){ scene.add(object); } -//doTHREE() +//doTHREE() // uncomment this to test // for [higherlevel] AFRAME markup see ~/index.html diff --git a/dist/v86-linux.iso b/dist/v86-linux.iso index 8c8c30d..a4b07f5 100644 Binary files a/dist/v86-linux.iso and b/dist/v86-linux.iso differ