Commit 0b398f14 authored by Percen's avatar Percen
Browse files

Update public/index.html

parent 54c01776
Showing with 2 additions and 2 deletions
+2 -2
...@@ -108,13 +108,13 @@ ...@@ -108,13 +108,13 @@
// Models // Models
const loader = new GLTFLoader(); const loader = new GLTFLoader();
loader.load('https://example.com/sunflower.gltf', (gltf) => { loader.load('https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf', (gltf) => {
sunflowerModel = gltf.scene; sunflowerModel = gltf.scene;
sunflowerModel.scale.set(0.5, 0.5, 0.5); sunflowerModel.scale.set(0.5, 0.5, 0.5);
sunflowerModel.position.set(0, 0, -2); sunflowerModel.position.set(0, 0, -2);
scene.add(sunflowerModel); scene.add(sunflowerModel);
}); });
loader.load('https://example.com/robot.gltf', (gltf) => { loader.load('https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb', (gltf) => {
robotModel = gltf.scene; robotModel = gltf.scene;
robotModel.scale.set(0.5, 0.5, 0.5); robotModel.scale.set(0.5, 0.5, 0.5);
robotModel.position.set(0, 0, -2); robotModel.position.set(0, 0, -2);
......
Supports Markdown
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