From 17d4a5ada8486e739dfb30b663d5b3302e7d6506 Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Sun, 16 Jun 2024 15:48:23 +0000 Subject: [PATCH] Update index.html --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 120d571..b102462 100644 --- a/public/index.html +++ b/public/index.html @@ -27,7 +27,7 @@ async function activateXR() { const material = new THREE.MeshToonMaterial({ color: 0xc994c7 }); // Create the torus and add it to the demo scene. -const torus = new THREE.Mesh( new THREE.PolyhedronBufferGeometry(6, 2, 3), material); +const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(1,0.4,64,8,2,3), material); //position the next geometry (sphere) torus.position.set(0, 0, -1); // Add the mesh to the scene -- GitLab