-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (30 loc) · 968 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 lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="stylesheet" href="./src/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Object Pooling in Threejs</title>
</head>
<body>
<section class="loader-container">
<img src="./public/assets/Infinity-1s-200px.gif" />
<h3>Loading...</h3>
</section>
<section class="shoot-button-container">
<button class="shoot-button">Shoot</button>
</section>
<section class="text-container">
<h1 class="info-text">
Pooled missile: <span class="amount-to-pool">0</span>
</h1>
<h1 class="info-text">
Missile remaining in the pool:
<span class="remaining-pool-item">0</span>
</h1>
</section>
<canvas id="app"> </canvas>
<script type="module" src="/src/main.ts"></script>
</body>
</html>