forked from renjianfeng/flightSimulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (46 loc) · 1.4 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>Title</title>
<script src="libs/pep.min.js"></script>
<script src="zepto.min.js"></script>
<!-- <script src="libs/new/babylon.js"></script> -->
<script src="libs/v33/babylon.js"></script>
<script src="libs/new2/babylon.gui.min.js"></script>
<script src="libs/pep.min.js"></script>
<script src="libs/tween.min.js"></script>
<!-- <script src="libs/loaders/babylon.glTFFileLoader.js"></script> -->
<script src="libs/new2/babylon.glTF2FileLoader.min.js"></script>
<script src="libs/babylonjs.materials.min.js"></script>
<script src="http://localhost:8080/hi.js"></script>
<script>
var resPath="";
</script>
<!--<script src="dist/hi.js"></script>-->
<style>
html, body {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
/* -moz-user-select:none;-webkit-user-select:none;*/
}
#renderCanvas {
width: 100%;
height: 100%;
touch-action: none;
}
</style>
</head>
<body>
<canvas id="renderCanvas" touch-action="none"></canvas>
<script>
document.body.addEventListener('contextmenu', function(e){
e.preventDefault();
});
</script>
</body>
</html>