-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
24 lines (24 loc) · 1.03 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>WebGL BSP</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<script src="dist/WebBSP.js"></script>
</head>
<body>
<input id="fileDialog" accept=".bsp" type="file" style="display: none"/>
<div align="center" id="sidebarBtn">
<button onclick="document.getElementById('sidebar').style.display = 'block'"><i class="fas fa-bars"></i></button>
</div>
<div id="sidebar" align="center">
<button onclick="document.getElementById('sidebar').style.display = 'none'"><i class="fas fa-bars"></i></button>
<button id="openBtn"><i class="fas fa-file"></i></button>
</div>
<canvas id="canvas"/>
<script>initWebGL();</script>
</body>
</html>