Switch to minified three.js

This commit is contained in:
Arne Keller 2022-01-30 12:53:10 +01:00
parent 0adc1fe818
commit 67ca6dc8f5
4 changed files with 10 additions and 50452 deletions

View File

@ -17,7 +17,7 @@
</div> </div>
<button id="start">Start</button> <button id="start">Start</button>
<script type="module" src="/game.js"></script> <script src="/three.min.js"></script>
<script src="/game.js"></script>
</body> </body>
</html> </html>

View File

@ -193,7 +193,6 @@ document.getElementById("set_head").addEventListener("click", () => {
init_gn(); init_gn();
import * as THREE from './three.module.js';
let scene, renderer; let scene, renderer;
const camera = new THREE.PerspectiveCamera(70, window.innerWidth / window.innerHeight, 0.1, 10000); const camera = new THREE.PerspectiveCamera(70, window.innerWidth / window.innerHeight, 0.1, 10000);
@ -431,4 +430,4 @@ function animate() {
i--; i--;
} }
} }
} }

6
three.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long