From 950762d0e4a15a05e056917c201839307e631446 Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Sun, 9 Jun 2024 18:45:00 +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 21aae78..7c82a80 100644 --- a/public/index.html +++ b/public/index.html @@ -24,7 +24,7 @@ async function activateXR() { const scene = new THREE.Scene(); // Color of the torus geometry. -const material = new THREE.PointsMaterial({ color: 0x7a0177, size: 0.1 }); +const material = new THREE.MeshToonMaterial({ color: 0xc994c7 }); // Create the torus and add it to the demo scene. const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.3, 0.2, 32, 6, 2, 3), material); -- GitLab