Browse Source

teleport if oob

Joe 3 years ago
parent
commit
8ee5d09c58
1 changed files with 12 additions and 12 deletions
  1. 12 12
      examples/games_fps.html

+ 12 - 12
examples/games_fps.html

@@ -1,16 +1,16 @@
 <!DOCTYPE html>
 <!DOCTYPE html>
 <html lang="en">
 <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';
 			import * as THREE from '../build/three.module.js';
 
 
@@ -460,5 +460,5 @@
 			}
 			}
 
 
 		</script>
 		</script>
-</body>
+	</body>
 </html>
 </html>