-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
42 lines (39 loc) · 1.68 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
<!DOCTYPE html>
<html>
<head>
<title>SceneJS physics engine</title>
</head>
<body>
<canvas id="theCanvas" width="800" height="600">
<p>This example requires a browser that supports the
<a href="http://www.w3.org/html/wg/html5/">HTML5</a>
<canvas> feature.</p>
</canvas>
<br/><br/>
<button id="camera_perspective">Perspective</button>
<button id="camera_top">Top</button>
<button id="camera_left">Left</button>
<button id="run">Start/Stop</button>
<button id="log_button">Log (firebug)</button>
<button onclick="window.location = window.location;">Reload simulation</button>
<div id="theLoggingDiv"></div>
<div id="log"></div>
<script src="lib/jquery-1.6.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
if(!console || !console.log) {
console = {
log: function () {}
}
}
</script>
<script type="text/javascript" src="lib/scenejs.js"></script>
<script type="text/javascript" src="lib/sylvester/sylvester.js"></script>
<script type="text/javascript" src="js/math.js"></script>
<script type="text/javascript" src="js/movement.js"></script>
<script type="text/javascript" src="js/object.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/collision.js"></script>
<script type="text/javascript" src="js/initScene.js"></script>
<script type="text/javascript" src="js/load.js"></script>
</body>
</html>