Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GeoVistoogsi
AR
Commits
198c0b88
Commit
198c0b88
authored
Dec 12, 2024
by
Percen
Browse files
Update public/index.html
parent
0e2edd18
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
198c0b88
...
@@ -118,6 +118,15 @@
...
@@ -118,6 +118,15 @@
directionalLight
.
position
.
set
(
10
,
15
,
10
);
directionalLight
.
position
.
set
(
10
,
15
,
10
);
scene
.
add
(
directionalLight
);
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
({
const
renderer
=
new
THREE
.
WebGLRenderer
({
alpha
:
true
,
alpha
:
true
,
preserveDrawingBuffer
:
true
,
preserveDrawingBuffer
:
true
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment