소스 검색

Remove reference to THREE in modules

Garrett Johnson 6 년 전
부모
커밋
cdf0bba21a
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      examples/jsm/controls/MapControls.js
  2. 1 1
      examples/jsm/controls/OrbitControls.js
  3. 1 1
      examples/jsm/controls/TrackballControls.js

+ 1 - 1
examples/jsm/controls/MapControls.js

@@ -1036,7 +1036,7 @@ var MapControls = function ( object, domElement ) {
 };
 };
 
 
 MapControls.prototype = Object.create( EventDispatcher.prototype );
 MapControls.prototype = Object.create( EventDispatcher.prototype );
-MapControls.prototype.constructor = THREE.MapControls;
+MapControls.prototype.constructor = MapControls;
 
 
 Object.defineProperties( MapControls.prototype, {
 Object.defineProperties( MapControls.prototype, {
 
 

+ 1 - 1
examples/jsm/controls/OrbitControls.js

@@ -932,7 +932,7 @@ var OrbitControls = function ( object, domElement ) {
 };
 };
 
 
 OrbitControls.prototype = Object.create( EventDispatcher.prototype );
 OrbitControls.prototype = Object.create( EventDispatcher.prototype );
-OrbitControls.prototype.constructor = THREE.OrbitControls;
+OrbitControls.prototype.constructor = OrbitControls;
 
 
 Object.defineProperties( OrbitControls.prototype, {
 Object.defineProperties( OrbitControls.prototype, {
 
 

+ 1 - 1
examples/jsm/controls/TrackballControls.js

@@ -623,6 +623,6 @@ var TrackballControls = function ( object, domElement ) {
 };
 };
 
 
 TrackballControls.prototype = Object.create( EventDispatcher.prototype );
 TrackballControls.prototype = Object.create( EventDispatcher.prototype );
-TrackballControls.prototype.constructor = THREE.TrackballControls;
+TrackballControls.prototype.constructor = TrackballControls;
 
 
 export { TrackballControls };
 export { TrackballControls };