-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (36 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Meandering Depths</title>
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
<script src="scripts/libs/webgl-obj-loader.min.js"></script>
<script src="scripts/libs/gl-matrix-min.js"></script>
<script type="text/javascript">
const {mat2, mat3, mat4, vec2, vec3, vec4} = glMatrix;
</script>
<script src="scripts/libs/webgl-debug.js" defer></script>
<script src="scripts/utils.js" defer> </script>
<script src="scripts/model.js" defer> </script>
<script src="scripts/camera.js" defer> </script>
<script src="scripts/main.js" defer></script>
<style>
body {
margin: 0;
background-color: rgb(78, 38, 143);
}
#glCanvas {
padding: 0;
margin: auto;
position: fixed;
display: block;
overflow: hidden;
}
</style>
</head>
<body>
<div style="text-align: center">
<canvas id="glCanvas", width=1420, height = 720></canvas>
</div>
</body>
</html>