Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Rahman
Argumented Reality
Commits
1c8f15cc
Commit
1c8f15cc
authored
11 months ago
by
Rahman
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
3a4eeef7
Pipeline
#9765
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+1
-2
public/index.html
with
1 addition
and
2 deletions
+1
-2
public/index.html
+
1
-
2
View file @
1c8f15cc
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<!-- 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>
<script
src=
"https://unpkg.com/three@0.126.0/examples/js/loaders/GLTFLoader.js"
></script>
<script
src=
"https://unpkg.com/three@0.126.0/examples/js/loaders/GLTFLoader.js"
></script>
</head>
</head>
<body>
<body>
...
@@ -71,6 +70,7 @@ async function activateXR() {
...
@@ -71,6 +70,7 @@ async function activateXR() {
// Replace the URL below with the URL of the new GLTF model you want to use
// Replace the URL below with the URL of the new GLTF model you want to use
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/22raya1mpg/argumented-reality/-/raw/master/scene.gltf
"
,
function
(
gltf
)
{
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/22raya1mpg/argumented-reality/-/raw/master/scene.gltf
"
,
function
(
gltf
)
{
pineCone
=
gltf
.
scene
;
pineCone
=
gltf
.
scene
;
pineCone
.
scale
.
set
(
0.15
,
0.15
,
0.15
);
// Adjust scale as needed
});
});
session
.
addEventListener
(
"
select
"
,
(
event
)
=>
{
session
.
addEventListener
(
"
select
"
,
(
event
)
=>
{
...
@@ -121,4 +121,3 @@ async function activateXR() {
...
@@ -121,4 +121,3 @@ async function activateXR() {
</script>
</script>
</body>
</body>
</html>
</html>
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