-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
index.html
executable file
·49 lines (39 loc) · 1.34 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
49
<!doctype html>
<html>
<head>
<title>Robot Gui by Maximilian Beck</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<script src="js/require.js" charset="utf-8"></script>
<!-- <script src="/socket.io/socket.io.js"></script> -->
<script src="vendor/three.js/Three.js"></script>
<script src="vendor/three.js/Detector.js"></script>
<script src="vendor/three.js/Stats.js"></script>
<script src="vendor/threex/THREEx.screenshot.js"></script>
<script src="vendor/threex/THREEx.FullScreen.js"></script>
<script src="vendor/threex/THREEx.WindowResize.js"></script>
<script src="vendor/three.js/OrbitControls.js"></script>
<script src="vendor/three.js/TransformControls.js"></script>
<script src="vendor/EventDispatcher.js"></script>
<script src="js/THREERobot.js"></script>
<link href="css/main.css" rel="stylesheet" />
</head>
<body>
<!-- three.js container -->
<div id="container"></div>
<script type="text/javascript">
var debug = {}
requirejs.config({
// urlArgs: "bust=" + (new Date()).getTime(),
baseUrl: 'js',
paths: {
State: '../vendor/state/State',
Kinematic: 'InverseKinematic'
},
});
require(['Hmi'], function(Hmi) {
let hmi = new Hmi()
});
</script>
</body>
</html>