-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (32 loc) · 879 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Babylon - Basic scene</title>
<style>
html, body {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#renderCanvas {
width: 100%;
height: 100%;
touch-action: none;
}
</style>
<script src="scripts/hand.minified-1.2.js"></script>
<script src="scripts/poly2tri.js"></script>
<script src="scripts/oimo.js"></script>
<script src="scripts/babylon.js"></script>
<script src="index.js"></script>
</head>
<body>
<canvas id="renderCanvas"></canvas>
<script language="javascript">
//function defined in index.js
createScene();
</script>
</body>
</html>