-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (23 loc) · 884 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
<meta name="viewport"
content="width = device-width, initial-scale = 1, minimum-scale = 1, maximum-scale = 1, user-scalable = no"/>
<script type="text/javascript" src="js/cgscenegraph_2.0.0-SNAPSHOT.min.js"></script>
<script type="text/javascript" src="js/class.node.accordion.js"></script>
<script type="text/javascript" src="js/class.main.js"></script>
</head>
<body style="margin:0px">
<canvas id="scene" width="80" height="50">
Your browser does not support the canvas element.
</canvas>
<span id="fps"></span>fps.
<script type="text/javascript">
var canvasScene = document.getElementById("scene");
var game = new CGMain(canvasScene);
game.showFPS(document.getElementById("fps"));
</script>
</body>
</html>