|
@@ -1,16 +1,16 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
-<head>
|
|
|
- <title>three.js - misc - octree collisions</title>
|
|
|
- <meta charset=utf-8 />
|
|
|
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
|
|
|
- <link type="text/css" rel="stylesheet" href="main.css">
|
|
|
-</head>
|
|
|
-<body>
|
|
|
-<div id="info">Octree threejs demo - basic collisions with static triangle mesh<br />WASD to move, space to jump, use mouse to throw balls and move the camera.</div>
|
|
|
-<div id="container"></div>
|
|
|
-
|
|
|
-<script type="module">
|
|
|
+ <head>
|
|
|
+ <title>three.js - misc - octree collisions</title>
|
|
|
+ <meta charset=utf-8 />
|
|
|
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
|
|
|
+ <link type="text/css" rel="stylesheet" href="main.css">
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div id="info">Octree threejs demo - basic collisions with static triangle mesh<br />WASD to move, space to jump, use mouse to throw balls and move the camera.</div>
|
|
|
+ <div id="container"></div>
|
|
|
+
|
|
|
+ <script type="module">
|
|
|
|
|
|
import * as THREE from '../build/three.module.js';
|
|
|
|
|
@@ -460,5 +460,5 @@
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
-</body>
|
|
|
+ </body>
|
|
|
</html>
|