Commit c623ffce authored by Rahman's avatar Rahman
Browse files

Update index.html

parent 1f05d795
Pipeline #9320 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 man;
loader.load("D:\HFT\2nd semster\CIV", function(gltf) {
man = gltf.scene;
let flower;
loader.load("", function(gltf) {
flower = gltf.scene;
});
session.addEventListener("select", (event) => {
if (man) {
const clone = man.clone();
if (flower) {
const clone = flower.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