Commit 1c8f15cc authored by Rahman's avatar Rahman
Browse files

Update index.html

parent 3a4eeef7
Pipeline #9765 passed with stage
in 6 seconds
...@@ -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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment