From 198c0b88a10445c563cbd0d0ea627b883faa6509 Mon Sep 17 00:00:00 2001 From: Percen <21pesi1bif@hft-stuttgart.de> Date: Thu, 12 Dec 2024 09:53:46 +0000 Subject: [PATCH] Update public/index.html --- public/index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public/index.html b/public/index.html index 7cf9077..f5bb43d 100644 --- a/public/index.html +++ b/public/index.html @@ -118,6 +118,15 @@ directionalLight.position.set(10, 15, 10); scene.add(directionalLight); + // MenĂ¼ direkt vor der Kamera +const menuGeometry = new THREE.PlaneGeometry(2, 0.5); +const menuMaterial = new THREE.MeshBasicMaterial({ color: 0x2196F3 }); +const menu = new THREE.Mesh(menuGeometry, menuMaterial); + +// Platzierung direkt vor der Kamera +menu.position.set(0, 1.5, -2); +scene.add(menu); + const renderer = new THREE.WebGLRenderer({ alpha: true, preserveDrawingBuffer: true, -- GitLab