소스 검색

r132 (bis) (bis)

Mr.doob 3 년 전
부모
커밋
e62b253081
4개의 변경된 파일10개의 추가작업 그리고 9개의 파일을 삭제
  1. 3 3
      build/three.js
  2. 0 0
      build/three.min.js
  3. 6 5
      build/three.module.js
  4. 1 1
      package.json

+ 3 - 3
build/three.js

@@ -5862,7 +5862,6 @@
 	class Material extends EventDispatcher {
 		constructor() {
 			super();
-			this._alphaTest = 0;
 			Object.defineProperty(this, 'id', {
 				value: materialId++
 			});
@@ -5910,6 +5909,7 @@
 			this.toneMapped = true;
 			this.userData = {};
 			this.version = 0;
+			this._alphaTest = 0;
 		}
 
 		get alphaTest() {
@@ -25626,8 +25626,6 @@
 	class MeshPhysicalMaterial extends MeshStandardMaterial {
 		constructor(parameters) {
 			super();
-			this._clearcoat = 0;
-			this._transmission = 0;
 			this.defines = {
 				'STANDARD': '',
 				'PHYSICAL': ''
@@ -25658,6 +25656,8 @@
 			this.specularIntensityMap = null;
 			this.specularTint = new Color(1, 1, 1);
 			this.specularTintMap = null;
+			this._clearcoat = 0;
+			this._transmission = 0;
 			this.setValues(parameters);
 		}
 

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


+ 6 - 5
build/three.module.js

@@ -7687,8 +7687,6 @@ let materialId = 0;
 
 class Material extends EventDispatcher {
 
-	_alphaTest = 0;
-
 	constructor() {
 
 		super();
@@ -7757,6 +7755,8 @@ class Material extends EventDispatcher {
 
 		this.version = 0;
 
+		this._alphaTest = 0;
+
 	}
 
 	get alphaTest() {
@@ -35090,9 +35090,6 @@ MeshStandardMaterial.prototype.isMeshStandardMaterial = true;
 
 class MeshPhysicalMaterial extends MeshStandardMaterial {
 
-	_clearcoat = 0;
-	_transmission = 0;
-
 	constructor( parameters ) {
 
 		super();
@@ -35142,6 +35139,10 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 		this.specularTint = new Color( 1, 1, 1 );
 		this.specularTintMap = null;
 
+		this._clearcoat = 0;
+		this._transmission = 0;
+
+
 		this.setValues( parameters );
 
 	}

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "three",
-  "version": "0.132.1",
+  "version": "0.132.2",
   "description": "JavaScript 3D library",
   "main": "build/three.js",
   "module": "build/three.module.js",

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