diff --git a/public/index.html b/public/index.html index 75283108a7b6a8bda432bb131a92e9ef153f3af9..8f7027aafb6ff1d71e155a42cb3f385f910a70b9 100644 --- a/public/index.html +++ b/public/index.html @@ -185,6 +185,10 @@ async function activateXR() { camera.projectionMatrix.fromArray(view.projectionMatrix); camera.updateMatrixWorld(true); + // Rotate the house + wallMesh.rotation.y += 0.01; + roofMesh.rotation.y += 0.01; + // Render the scene with THREE.WebGLRenderer. renderer.render(scene, camera); }