Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Rushdi
AR
Commits
ac5489dd
Commit
ac5489dd
authored
Jun 20, 2023
by
Rushdi
Browse files
Update 2-Hit.html
parent
639741f3
Pipeline
#8156
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/2-Hit.html
View file @
ac5489dd
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
>
content=
"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
>
<title>
Tap to Place
Demo
</title>
<title>
Tap to Place
</title>
<!-- three.js -->
<!-- three.js -->
<script
src=
"https://unpkg.com/three@0.126.0/build/three.js"
></script>
<script
src=
"https://unpkg.com/three@0.126.0/build/three.js"
></script>
...
@@ -70,9 +70,9 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re
...
@@ -70,9 +70,9 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re
scene
.
add
(
reticle
);
scene
.
add
(
reticle
);
})
})
let
flower
;
let
tv
;
loader
.
load
(
"
https://
immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower
.gltf
"
,
function
(
gltf
)
{
loader
.
load
(
"
https://
transfer.hft-stuttgart.de/gitlab/22rumu1mpg/ar/-/raw/master/public/scene
.gltf
"
,
function
(
gltf
)
{
flower
=
gltf
.
scene
;
tv
=
gltf
.
scene
;
});
});
session
.
addEventListener
(
"
select
"
,
(
event
)
=>
{
session
.
addEventListener
(
"
select
"
,
(
event
)
=>
{
...
...
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