-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (41 loc) · 1.14 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
<!DOCTYPE html>
<html>
<head>
<title>Verlet Integration Test</title>
<script src="core.js"></script>
<script src="verlet.js"></script>
<script src="app.js"></script>
<script type="text/javascript">
var app;
function loaded()
{
app = new App({
parentNode: document.body,
width: Utils.DOM.getScreenSize().x,
height: Utils.DOM.getScreenSize().y
});
}
function resized()
{
app.setWidth(Utils.DOM.getScreenSize().x);
app.setHeight(Utils.DOM.getScreenSize().y);
}
</script>
<style type="text/css">
body {
margin: 0px;
padding: 0px;
width: 100%;
overflow: hidden;
user-select: none;
-o-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
}
</style>
<link href="app.css" rel="stylesheet" />
</head>
<body onload="loaded()" onresize="resized()" onselectstart="return false;" oncontextmenu="return false;">
</body>
</html>