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
f125498e
Commit
f125498e
authored
Jan 01, 2025
by
Percen
Browse files
Update public/index.html
parent
6e9e1037
Changes
1
Show whitespace changes
Inline
Side-by-side
public/index.html
View file @
f125498e
...
@@ -150,11 +150,8 @@
...
@@ -150,11 +150,8 @@
<div
class=
"menu-item"
id=
"sunflower-item"
onclick=
"selectModel('sunflower')"
>
<div
class=
"menu-item"
id=
"sunflower-item"
onclick=
"selectModel('sunflower')"
>
<img
src=
"previewImages/sunflower.png"
alt=
"Sonnenblume"
style=
"width: 50px; height: 50px;"
>
<img
src=
"previewImages/sunflower.png"
alt=
"Sonnenblume"
style=
"width: 50px; height: 50px;"
>
</div>
</div>
<div
class=
"menu-item"
id=
"duck-item"
onclick=
"selectModel('duck')"
>
<div
class=
"menu-item"
id=
"lantern-item"
onclick=
"selectModel('tree')"
>
<img
src=
"previewImages/tree.png"
alt=
"duck"
style=
"width: 50px; height: 50px;"
>
<img
src=
"previewImages/tree.png"
alt=
"Baum"
style=
"width: 50px; height: 50px;"
>
</div>
<div
class=
"menu-item"
id=
"lantern-item"
onclick=
"selectModel('lantern')"
>
<img
src=
"previewImages/tree.png"
alt=
"lantern"
style=
"width: 50px; height: 50px;"
>
</div>
</div>
<div
class=
"menu-item"
id=
"exit-item"
onclick=
"exitAR()"
>
<div
class=
"menu-item"
id=
"exit-item"
onclick=
"exitAR()"
>
<img
src=
"previewImages/exit.png"
alt=
"Exit"
style=
"width: 50px; height: 50px;"
>
<img
src=
"previewImages/exit.png"
alt=
"Exit"
style=
"width: 50px; height: 50px;"
>
...
@@ -218,9 +215,7 @@
...
@@ -218,9 +215,7 @@
loader
.
load
(
"
https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf
"
,
(
gltf
)
=>
{
loader
.
load
(
"
https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf
"
,
(
gltf
)
=>
{
models
.
sunflower
=
gltf
.
scene
;
models
.
sunflower
=
gltf
.
scene
;
});
});
loader
.
load
(
"
https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/refs/heads/main/2.0/Duck/glTF/Duck.gltf
"
,
(
gltf
)
=>
{
models
.
tree
=
gltf
.
scene
;
});
loader
.
load
(
"
https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/refs/heads/main/Models/Lantern/glTF/Lantern.gltf
"
,
(
gltf
)
=>
{
loader
.
load
(
"
https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/refs/heads/main/Models/Lantern/glTF/Lantern.gltf
"
,
(
gltf
)
=>
{
models
.
tree
=
gltf
.
scene
;
models
.
tree
=
gltf
.
scene
;
});
});
...
...
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