Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d91c964f9c
Fetching contributors…

Cannot retrieve contributors at this time

71 lines (65 sloc) 2.11 kb
<!DOCTYPE html>
<!--
- Copyright (c) 2012 Research In Motion Limited.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-->
<html>
<head>
<meta name="viewport" content="target-densitydpi=device-dpi,user-scalable=no,initial-scale=1.0"/>
<style type="text/css">
body {
background-color: #000000;
height: 512px;
margin: 0;
overflow: hidden;
padding: 0;
width: 1024px;
}
</style>
</head>
<body>
<div id="glDiv" style="border: none; margin: 0; padding: 0;">
<canvas id="glCanvas" style="border: none;" height="512" width="1024">
</canvas>
</div>
<script type="text/javascript" src="js/glMatrix-0.9.5.min.js"></script>
<script type="text/javascript" src="js/Utils.js"></script>
<script type="text/javascript" src="js/GLSkybox.js"></script>
<script type="text/javascript" src="js/GLTerrain.js"></script>
<script type="text/javascript" src="js/GLCube.js"></script>
<script type="text/javascript" src="js/virtualjoystick.js"></script>
<script type="text/javascript" src="js/Game.js"></script>
<script type="text/javascript">
/*global window, document, console, Game */
var game = null;
function ready() {
"use strict";
try {
game = new Game();
} catch (err) {
console.log("ready: " + err);
}
window.removeEventListener("DOMContentLoaded", ready, false);
}
/**
* Source: http://www.aerotwist.com/tutorials/ten-things-i-learned
*/
document.onselectstart = function () {
"use strict";
return false;
};
window.addEventListener("DOMContentLoaded", ready, false);
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.