2
0
Эх сурвалжийг харах

Merge pull request #17497 from Mugen87/dev38

JSM: Fix modularize.js
Michael Herzog 5 жил өмнө
parent
commit
6ea23ca331

+ 5 - 5
examples/jsm/controls/FirstPersonControls.js

@@ -37,11 +37,6 @@ var FirstPersonControls = function ( object, domElement ) {
 	this.verticalMin = 0;
 	this.verticalMax = Math.PI;
 
-	this.moveForward = false;
-	this.moveBackward = false;
-	this.moveLeft = false;
-	this.moveRight = false;
-
 	this.mouseDragOn = false;
 
 	// internals
@@ -51,6 +46,11 @@ var FirstPersonControls = function ( object, domElement ) {
 	this.mouseX = 0;
 	this.mouseY = 0;
 
+	this.moveForward = false;
+	this.moveBackward = false;
+	this.moveLeft = false;
+	this.moveRight = false;
+
 	this.viewHalfX = 0;
 	this.viewHalfY = 0;
 

+ 0 - 1
utils/modularize.js

@@ -78,7 +78,6 @@ var files = [
 	{ path: 'loaders/AWDLoader.js', dependencies: [], ignoreList: [] },
 	{ path: 'loaders/AssimpJSONLoader.js', dependencies: [], ignoreList: [] },
 	{ path: 'loaders/AssimpLoader.js', dependencies: [], ignoreList: [] },
-	{ path: 'loaders/BabylonLoader.js', dependencies: [], ignoreList: [] },
 	{ path: 'loaders/BasisTextureLoader.js', dependencies: [], ignoreList: [] },
 	{ path: 'loaders/BVHLoader.js', dependencies: [], ignoreList: [ 'Bones' ] },
 	{ path: 'loaders/ColladaLoader.js', dependencies: [ { name: 'TGALoader', path: 'loaders/TGALoader.js' } ], ignoreList: [] },