Skip to content

Commit

Permalink
r132 (bis) (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Aug 27, 2021
1 parent c487993 commit e62b253
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build/three.js
Original file line number Diff line number Diff line change
Expand Up @@ -5862,7 +5862,6 @@
class Material extends EventDispatcher {
constructor() {
super();
this._alphaTest = 0;
Object.defineProperty(this, 'id', {
value: materialId++
});
Expand Down Expand Up @@ -5910,6 +5909,7 @@
this.toneMapped = true;
this.userData = {};
this.version = 0;
this._alphaTest = 0;
}

get alphaTest() {
Expand Down Expand Up @@ -25626,8 +25626,6 @@
class MeshPhysicalMaterial extends MeshStandardMaterial {
constructor(parameters) {
super();
this._clearcoat = 0;
this._transmission = 0;
this.defines = {
'STANDARD': '',
'PHYSICAL': ''
Expand Down Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion build/three.min.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions build/three.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -7687,8 +7687,6 @@ let materialId = 0;

class Material extends EventDispatcher {

_alphaTest = 0;

constructor() {

super();
Expand Down Expand Up @@ -7757,6 +7755,8 @@ class Material extends EventDispatcher {

this.version = 0;

this._alphaTest = 0;

}

get alphaTest() {
Expand Down Expand Up @@ -35090,9 +35090,6 @@ MeshStandardMaterial.prototype.isMeshStandardMaterial = true;

class MeshPhysicalMaterial extends MeshStandardMaterial {

_clearcoat = 0;
_transmission = 0;

constructor( parameters ) {

super();
Expand Down Expand Up @@ -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 );

}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit e62b253

Please sign in to comment.