Skip to content

Commit 5662aee

Browse files
author
Avaer Kazmer
committed
Use new subscene example
1 parent e62b31c commit 5662aee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<body>
44
<xr-site camera-position="0 2 3" camera-orientation="-0.2297529205473612 0 0 0.9732489894677301">
5-
<xr-iframe src="examples/recursion.html" position="0 0.5 0" name="Recursion"></xr-iframe>
5+
<xr-iframe src="examples/subscene.html" position="0 0.5 0" name="Subscene"></xr-iframe>
66
<xr-iframe src="examples/floor.html" position="-1 0 0" name="Floor"></xr-iframe>
77
</xr-site>
88
<!-- optional UI follows -->
@@ -20,8 +20,8 @@
2020
floorXrIframe.addEventListener('load', e => {
2121
console.log('floor load', e);
2222
});
23-
const recursionXrIframe = document.querySelector('xr-iframe[name=Recursion]');
24-
recursionXrIframe.addEventListener('load', e => {
23+
const subsceneXrIframe = document.querySelector('xr-iframe[name=Subscene]');
24+
subsceneXrIframe.addEventListener('load', e => {
2525
console.log('introduction load', e);
2626
});
2727
const _addControls = xrIframe => {
@@ -106,7 +106,7 @@
106106
root.layers.push(renderer.domElement);
107107

108108
_addControls(floorXrIframe);
109-
_addControls(recursionXrIframe);
109+
_addControls(subsceneXrIframe);
110110
_postTabs();
111111

112112
function animate() {

0 commit comments

Comments
 (0)