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
Rafiei
Ar_test
Commits
fc302249
Commit
fc302249
authored
11 months ago
by
Rafiei
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
5f80d8f0
Pipeline
#9714
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+4
-4
public/index.html
with
4 additions
and
4 deletions
+4
-4
public/index.html
+
4
-
4
View file @
fc302249
...
...
@@ -70,14 +70,14 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re
scene
.
add
(
reticle
);
})
let
flower
;
let
dog
;
loader
.
load
(
"
https://vazxmixjsiawhamofees.supabase.co/storage/v1/object/public/models/dog/model.gltf
"
,
function
(
gltf
)
{
flower
=
gltf
.
scene
;
dog
=
gltf
.
scene
;
});
session
.
addEventListener
(
"
select
"
,
(
event
)
=>
{
if
(
flower
)
{
const
clone
=
flower
.
clone
();
if
(
dog
)
{
const
clone
=
dog
.
clone
();
clone
.
position
.
copy
(
reticle
.
position
);
scene
.
add
(
clone
);
}
...
...
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