瀏覽代碼

teleport if oob

Joe 3 年之前
父節點
當前提交
8ee5d09c58
共有 1 個文件被更改,包括 12 次插入12 次删除
  1. 12 12
      examples/games_fps.html

+ 12 - 12
examples/games_fps.html

@@ -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>