Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Esguerra Montana
WebarTTP
Commits
b45d5d87
Commit
b45d5d87
authored
9 months ago
by
Esguerra Montana
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
5b72514e
master
public
Pipeline
#9481
passed with stage
in 7 seconds
Changes
1
Pipelines
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 @
b45d5d87
...
@@ -48,7 +48,7 @@ async function activateXR() {
...
@@ -48,7 +48,7 @@ async function activateXR() {
const
loader
=
new
THREE
.
GLTFLoader
();
const
loader
=
new
THREE
.
GLTFLoader
();
let
reticle
;
let
reticle
;
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/
blob
/master/media/reticle.gltf
"
,
function
(
gltf
)
{
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/
tree
/master/media/reticle.gltf
"
,
function
(
gltf
)
{
reticle
=
gltf
.
scene
;
reticle
=
gltf
.
scene
;
reticle
.
visible
=
false
;
reticle
.
visible
=
false
;
scene
.
add
(
reticle
);
scene
.
add
(
reticle
);
...
@@ -58,7 +58,7 @@ async function activateXR() {
...
@@ -58,7 +58,7 @@ async function activateXR() {
});
});
let
model
;
let
model
;
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/
blob
/master/media/sunflower.gltf
"
,
function
(
gltf
)
{
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/
tree
/master/media/sunflower.gltf
"
,
function
(
gltf
)
{
model
=
gltf
.
scene
;
model
=
gltf
.
scene
;
console
.
log
(
"
Model loaded successfully
"
);
console
.
log
(
"
Model loaded successfully
"
);
},
undefined
,
function
(
error
)
{
},
undefined
,
function
(
error
)
{
...
...
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
Menu
Explore
Projects
Groups
Snippets