Skip to content
GitLab
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
Jun 16, 2024
by
Esguerra Montana
Browse files
Update index.html
parent
5b72514e
Pipeline
#9481
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/index.html
View file @
b45d5d87
...
...
@@ -48,7 +48,7 @@ async function activateXR() {
const
loader
=
new
THREE
.
GLTFLoader
();
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
.
visible
=
false
;
scene
.
add
(
reticle
);
...
...
@@ -58,7 +58,7 @@ async function activateXR() {
});
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
;
console
.
log
(
"
Model loaded successfully
"
);
},
undefined
,
function
(
error
)
{
...
...
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