Commit 72c86100 authored by Percen's avatar Percen
Browse files

Merge branch '21pesi1bif-master-patch-25468' into 'master'

Update public/index.html

See merge request !34
1 merge request!34Update public/index.html
Pipeline #10516 passed with stage
in 7 seconds
Showing with 9 additions and 0 deletions
+9 -0
......@@ -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,
......
Supports Markdown
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