-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
39 lines (33 loc) · 1.2 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="HandheldFriendly" content="true" />
<title>TouchControls Test</title>
<link rel="stylesheet" href="css/touch-pad.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div id="container">
<h3>TouchControls Test : </h3>
<div id="container3d"></div>
</div>
<!-- Import maps polyfill -->
<!-- Remove this when import maps will be widely supported -->
<script async src="js/libs/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "./js/libs/threejs/three.module.js"
}
}
</script>
<!-- <script type="module" src="js/libs/threejs/three.module.js"></script> -->
<!-- <script type="module" src="js/MovementPad.js"></script>
<script type="module" src="js/RotationPad.js"></script> -->
<script type="module" src="js/TouchControls.js"></script>
<script type="module" src="js/example.js"></script>
</body>
</html>