File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 -->
2020floorXrIframe . 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} ) ;
2727const _addControls = xrIframe => {
106106root . layers . push ( renderer . domElement ) ;
107107
108108_addControls ( floorXrIframe ) ;
109- _addControls ( recursionXrIframe ) ;
109+ _addControls ( subsceneXrIframe ) ;
110110_postTabs ( ) ;
111111
112112function animate ( ) {
You can’t perform that action at this time.
0 commit comments