Procházet zdrojové kódy

BufferGeometryUtils: Move to utils/ folder.

Don McCurdy před 7 roky
rodič
revize
1f5ce17869

+ 2 - 2
docs/examples/BufferGeometryUtils.html → docs/examples/utils/BufferGeometryUtils.html

@@ -2,7 +2,7 @@
 <html lang="en">
   <head>
     <meta charset="utf-8" />
-    <base href="../" />
+    <base href="../../" />
     <script src="list.js"></script>
     <script src="page.js"></script>
     <link type="text/css" rel="stylesheet" href="page.css" />
@@ -46,6 +46,6 @@
 
     <h2>Source</h2>
 
-    [link:https://github.com/mrdoob/three.js/blob/master/examples/js/BufferGeometryUtils.js examples/js/BufferGeometryUtils.js]
+    [link:https://github.com/mrdoob/three.js/blob/master/examples/js/utils/BufferGeometryUtils.js examples/js/utils/BufferGeometryUtils.js]
   </body>
 </html>

+ 1 - 1
docs/list.js

@@ -400,7 +400,7 @@ var list = {
 		},
 
 		"Utils": {
-			"BufferGeometryUtils": "examples/BufferGeometryUtils",
+			"BufferGeometryUtils": "examples/utils/BufferGeometryUtils",
 			"SceneUtils": "examples/utils/SceneUtils"
 		}
 

+ 0 - 0
examples/js/BufferGeometryUtils.js → examples/js/utils/BufferGeometryUtils.js


+ 1 - 1
examples/webgl_geometry_minecraft.html

@@ -45,7 +45,7 @@
 
 		<script src="js/controls/FirstPersonControls.js"></script>
 
-		<script src="js/BufferGeometryUtils.js"></script>
+		<script src="js/utils/BufferGeometryUtils.js"></script>
 		<script src="js/ImprovedNoise.js"></script>
 		<script src="js/Detector.js"></script>
 		<script src="js/libs/stats.min.js"></script>

+ 1 - 1
examples/webgl_interactive_cubes_gpu.html

@@ -38,7 +38,7 @@
 		<script src="../build/three.js"></script>
 
 		<script src="js/controls/TrackballControls.js"></script>
-		<script src="js/BufferGeometryUtils.js"></script>
+		<script src="js/utils/BufferGeometryUtils.js"></script>
 		<script src="js/libs/stats.min.js"></script>
 
 		<script>

+ 1 - 1
examples/webgl_postprocessing_crossfade.html

@@ -41,7 +41,7 @@
 		<script src="js/crossfade/scenes.js"></script>
 		<script src="js/crossfade/gui.js"></script>
 		<script src="js/crossfade/transition.js"></script>
-		<script src="js/BufferGeometryUtils.js"></script>
+		<script src="js/utils/BufferGeometryUtils.js"></script>
 
 		<script>
 

+ 1 - 1
examples/webgl_terrain_dynamic.html

@@ -51,7 +51,7 @@
 
 		<script src="js/controls/OrbitControls.js"></script>
 
-		<script src="js/BufferGeometryUtils.js"></script>
+		<script src="js/utils/BufferGeometryUtils.js"></script>
 
 		<script src="js/shaders/NormalMapShader.js"></script>
 		<script src="js/ShaderTerrain.js"></script>

+ 1 - 1
test/three.example.unit.js

@@ -4,7 +4,7 @@
 
 import './unit/qunit-utils.js';
 
-import './unit/example/BufferGeometryUtils.tests';
+import './unit/example/utils/BufferGeometryUtils.tests';
 import './unit/example/exporters/GLTFExporter.tests';
 import './unit/example/loaders/GLTFLoader.tests';
 import './unit/example/objects/Lensflare.tests';

+ 1 - 1
test/unit/example/BufferGeometryUtils.tests.js → test/unit/example/utils/BufferGeometryUtils.tests.js

@@ -3,7 +3,7 @@
  */
 /* global QUnit */
 
-import * as BufferGeometryUtils from '../../../examples/js/BufferGeometryUtils';
+import * as BufferGeometryUtils from '../../../examples/js/utils/BufferGeometryUtils';
 
 export default QUnit.module( 'BufferGeometryUtils', () => {