Commit 5ccea5c9 authored by Esguerra Montana's avatar Esguerra Montana
Browse files

Update index.html

parent 9435d166
Pipeline #9433 passed with stage
in 7 seconds
...@@ -185,6 +185,10 @@ async function activateXR() { ...@@ -185,6 +185,10 @@ async function activateXR() {
camera.projectionMatrix.fromArray(view.projectionMatrix); camera.projectionMatrix.fromArray(view.projectionMatrix);
camera.updateMatrixWorld(true); camera.updateMatrixWorld(true);
// Rotate the house
wallMesh.rotation.y += 0.01;
roofMesh.rotation.y += 0.01;
// Render the scene with THREE.WebGLRenderer. // Render the scene with THREE.WebGLRenderer.
renderer.render(scene, camera); renderer.render(scene, camera);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment