From 5ccea5c9e6c2908b555ae27fc8cd4f75cdd0cd32 Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Sun, 16 Jun 2024 16:58:58 +0000 Subject: [PATCH] Update index.html --- public/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/index.html b/public/index.html index 7528310..8f7027a 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); } -- GitLab