forked from magcius/noclip.website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (27 loc) · 897 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
28
29
30
<!doctype html>
<html>
<head>
<meta charset="utf8">
<title>NITRO_BMD</title>
<style>
button, select { font-size: 150%; }
canvas { cursor: grab; cursor: -webkit-grab; }
.grabbing { cursor: grabbing; cursor: -webkit-grabbing; }
.grabbing canvas { cursor: inherit; }
</style>
</head>
<body class>
<center>
<div id="pl"></div>
<canvas id="scene" width="1280" height="800"></canvas>
<script src="https://cdn.rawgit.com/toji/gl-matrix/master/dist/gl-matrix-min.js"></script>
<script src="lz77.js"></script>
<script src="bmd.js"></script>
<script src="nitro_tex.js"></script>
<script src="nitro_gx.js"></script>
<script src="render.js"></script>
<p>Use WASD to move around, hold shift to go faster. Click to rotate, and press B to reset the camera.</p>
<h2>Textures</h2>
<div id="textures"></div>
</body>
</html>