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
b0240f0c
Commit
b0240f0c
authored
Jan 01, 2025
by
Percen
Browse files
Update public/index.html
parent
3fb12e10
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
b0240f0c
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
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
;
// Skaliere das Modell kleiner
// Skaliere das Modell kleiner
models
.
tree
.
scale
.
set
(
0.
3
,
0.
3
,
0.
3
);
// Skaliert das Modell auf 50% der Originalgröße
models
.
tree
.
scale
.
set
(
0.
05
,
0.
05
,
0.
05
);
// Skaliert das Modell auf 50% der Originalgröße
});
});
// AR-Session starten
// AR-Session starten
...
...
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