Skip to content

Commit 3d751ff

Browse files
author
Avaer Kazmer
committed
Clean up universal subscene code
1 parent 1c8f511 commit 3d751ff

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

examples/subscene.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
<!doctype html>
22
<html>
3-
<head>
4-
<script type=module>import(`../ew.js${window.location.search}`);</script>
5-
</head>
63
<body>
7-
<!-- <template is=xr-engine-template> -->
8-
<xr-engine>
9-
<xr-site camera-position="0 2 3" camera-orientation="-0.2297529205473612 0 0 0.9732489894677301">
10-
<xr-iframe src="/examples/example1xr.html" position="0 0 -1" name="Red Cube"></xr-iframe>
11-
<xr-iframe src="/examples/example2xr.html" position="0 0 0" name="Green Cube"></xr-iframe>
12-
</xr-site>
13-
</xr-engine>
14-
<!-- </template> -->
4+
<script type=module>import(`../ew.js${window.location.search}`);</script>
5+
<!-- <template is=xr-engine-template> -->
6+
<xr-engine>
7+
<xr-site camera-position="0 2 3" camera-orientation="-0.2297529205473612 0 0 0.9732489894677301">
8+
<xr-iframe src="/examples/example1xr.html" position="0 0 -1" name="Red Cube"></xr-iframe>
9+
<xr-iframe src="/examples/example2xr.html" position="0 0 0" name="Green Cube"></xr-iframe>
10+
</xr-site>
11+
</xr-engine>
1512
</body>
1613
</html>

0 commit comments

Comments
 (0)