Commit 88832061 authored by Rahman's avatar Rahman
Browse files

Update index.html

parent 9b4e7df7
Pipeline #9307 passed with stage
in 6 seconds
......@@ -70,14 +70,14 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re
scene.add(reticle);
})
let Chair;
loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/chair/scene.gltf", function(gltf) {
chair = gltf.scene;
let man;
loader.load("D:\HFT\2nd semster\CIV", function(gltf) {
man = gltf.scene;
});
session.addEventListener("select", (event) => {
if (chair) {
const clone = chair.clone();
if (man) {
const clone = man.clone();
clone.position.copy(reticle.position);
scene.add(clone);
}
......
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