소스 검색

Updated builds.

Mr.doob 4 년 전
부모
커밋
ab95c91d64
3개의 변경된 파일14개의 추가작업 그리고 16개의 파일을 삭제
  1. 7 7
      build/three.js
  2. 0 0
      build/three.min.js
  3. 7 9
      build/three.module.js

+ 7 - 7
build/three.js

@@ -16508,15 +16508,15 @@
 		};
 	}
 
-	function ArrayCamera(array = []) {
-		PerspectiveCamera.call(this);
-		this.cameras = array;
+	class ArrayCamera extends PerspectiveCamera {
+		constructor(array = []) {
+			super();
+			this.cameras = array;
+		}
+
 	}
 
-	ArrayCamera.prototype = Object.assign(Object.create(PerspectiveCamera.prototype), {
-		constructor: ArrayCamera,
-		isArrayCamera: true
-	});
+	ArrayCamera.prototype.isArrayCamera = true;
 
 	class Group extends Object3D {
 		constructor() {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
build/three.min.js


+ 7 - 9
build/three.module.js

@@ -21559,21 +21559,19 @@ function WebGLUtils( gl, extensions, capabilities ) {
 
 }
 
-function ArrayCamera( array = [] ) {
+class ArrayCamera extends PerspectiveCamera {
 
-	PerspectiveCamera.call( this );
+	constructor( array = [] ) {
 
-	this.cameras = array;
-
-}
+		super();
 
-ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototype ), {
+		this.cameras = array;
 
-	constructor: ArrayCamera,
+	}
 
-	isArrayCamera: true
+}
 
-} );
+ArrayCamera.prototype.isArrayCamera = true;
 
 class Group extends Object3D {
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.