From f2bc6342726aa75bc8d9ceea6508863f5f45ec05 Mon Sep 17 00:00:00 2001 From: Alfakhori <muhammad.alfakhori@hft-stuttgart.de> Date: Wed, 3 May 2023 07:32:12 +0000 Subject: [PATCH] Update public/webXR.html --- public/webXR.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/webXR.html b/public/webXR.html index 4e5da0e..747f009 100644 --- a/public/webXR.html +++ b/public/webXR.html @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> - <title>Hello WebXR! 3.0</title> + <title>Hello WebXR! 4.0</title> <!-- three.js --> <script src="https://unpkg.com/three@0.126.0/build/three.js"></script> @@ -34,8 +34,8 @@ const materials = [ ]; // Create the cube and add it to the demo scene. -const cube = new THREE.Mesh(new THREE.BoxBufferGeometry(0.2, 0.2, 0.2), materials); -cube.position.set(1, 1, 1); +const cube = new THREE.Mesh(new THREE.BoxBufferGeometry(0.5, 0.5, 0.5), materials); +cube.position.set(1, 1, 0); scene.add(cube); // Set up the WebGLRenderer, which handles rendering to the session's base layer. -- GitLab