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
0b398f14
Commit
0b398f14
authored
4 months ago
by
Percen
Browse files
Options
Download
Email Patches
Plain Diff
Update public/index.html
parent
54c01776
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+2
-2
public/index.html
with
2 additions
and
2 deletions
+2
-2
public/index.html
+
2
-
2
View file @
0b398f14
...
@@ -108,13 +108,13 @@
...
@@ -108,13 +108,13 @@
// Models
// Models
const
loader
=
new
GLTFLoader
();
const
loader
=
new
GLTFLoader
();
loader
.
load
(
'
https://
example.com
/sunflower.gltf
'
,
(
gltf
)
=>
{
loader
.
load
(
'
https://
immersive-web.github.io/webxr-samples/media/gltf/sunflower
/sunflower.gltf
'
,
(
gltf
)
=>
{
sunflowerModel
=
gltf
.
scene
;
sunflowerModel
=
gltf
.
scene
;
sunflowerModel
.
scale
.
set
(
0.5
,
0.5
,
0.5
);
sunflowerModel
.
scale
.
set
(
0.5
,
0.5
,
0.5
);
sunflowerModel
.
position
.
set
(
0
,
0
,
-
2
);
sunflowerModel
.
position
.
set
(
0
,
0
,
-
2
);
scene
.
add
(
sunflowerModel
);
scene
.
add
(
sunflowerModel
);
});
});
loader
.
load
(
'
https://
example.com/robot
.gl
tf
'
,
(
gltf
)
=>
{
loader
.
load
(
'
https://
threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive
.gl
b
'
,
(
gltf
)
=>
{
robotModel
=
gltf
.
scene
;
robotModel
=
gltf
.
scene
;
robotModel
.
scale
.
set
(
0.5
,
0.5
,
0.5
);
robotModel
.
scale
.
set
(
0.5
,
0.5
,
0.5
);
robotModel
.
position
.
set
(
0
,
0
,
-
2
);
robotModel
.
position
.
set
(
0
,
0
,
-
2
);
...
...
This diff is collapsed.
Click to expand it.
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