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 @@
<!-- three.js -->
<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>
</head>
<body>
......@@ -71,6 +70,7 @@ async function activateXR() {
// 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) {
pineCone = gltf.scene;
pineCone.scale.set(0.15, 0.15, 0.15); // Adjust scale as needed
});
session.addEventListener("select", (event) => {
......@@ -121,4 +121,3 @@ async function activateXR() {
</script>
</body>
</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