Skip to content

Commit

Permalink
Updated builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Apr 14, 2021
1 parent 1d47886 commit be270ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 153 deletions.
60 changes: 1 addition & 59 deletions build/three.js
Original file line number Diff line number Diff line change
Expand Up @@ -34747,18 +34747,8 @@

SkinnedMesh.prototype.initBones = function () {
console.error('THREE.SkinnedMesh: initBones() has been removed.');
};
}; //

Object.defineProperty(Curve.prototype, '__arcLengthDivisions', {
get: function () {
console.warn('THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.');
return this.arcLengthDivisions;
},
set: function (value) {
console.warn('THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.');
this.arcLengthDivisions = value;
}
}); //

PerspectiveCamera.prototype.setLens = function (focalLength, filmGauge) {
console.warn('THREE.PerspectiveCamera.setLens is deprecated. ' + 'Use .setFocalLength and .filmGauge for a photographic setup.');
Expand Down Expand Up @@ -34946,42 +34936,6 @@
}
}
});
Object.defineProperties(InstancedBufferGeometry.prototype, {
maxInstancedCount: {
get: function () {
console.warn('THREE.InstancedBufferGeometry: .maxInstancedCount has been renamed to .instanceCount.');
return this.instanceCount;
},
set: function (value) {
console.warn('THREE.InstancedBufferGeometry: .maxInstancedCount has been renamed to .instanceCount.');
this.instanceCount = value;
}
}
});
Object.defineProperties(Raycaster.prototype, {
linePrecision: {
get: function () {
console.warn('THREE.Raycaster: .linePrecision has been deprecated. Use .params.Line.threshold instead.');
return this.params.Line.threshold;
},
set: function (value) {
console.warn('THREE.Raycaster: .linePrecision has been deprecated. Use .params.Line.threshold instead.');
this.params.Line.threshold = value;
}
}
});
Object.defineProperties(InterleavedBuffer.prototype, {
dynamic: {
get: function () {
console.warn('THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.');
return this.usage === DynamicDrawUsage;
},
set: function (value) {
console.warn('THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.');
this.setUsage(value);
}
}
});

InterleavedBuffer.prototype.setDynamic = function (value) {
console.warn('THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead.');
Expand Down Expand Up @@ -35063,18 +35017,6 @@
}
}
});
Object.defineProperties(MeshPhysicalMaterial.prototype, {
transparency: {
get: function () {
console.warn('THREE.MeshPhysicalMaterial: .transparency has been renamed to .transmission.');
return this.transmission;
},
set: function (value) {
console.warn('THREE.MeshPhysicalMaterial: .transparency has been renamed to .transmission.');
this.transmission = value;
}
}
});
Object.defineProperties(ShaderMaterial.prototype, {
derivatives: {
get: function () {
Expand Down
2 changes: 1 addition & 1 deletion build/three.min.js

Large diffs are not rendered by default.

93 changes: 0 additions & 93 deletions build/three.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -48081,23 +48081,6 @@ SkinnedMesh.prototype.initBones = function () {

};

Object.defineProperty( Curve.prototype, '__arcLengthDivisions', {

get: function () {

console.warn( 'THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.' );
return this.arcLengthDivisions;

},
set: function ( value ) {

console.warn( 'THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.' );
this.arcLengthDivisions = value;

}

} );

//

PerspectiveCamera.prototype.setLens = function ( focalLength, filmGauge ) {
Expand Down Expand Up @@ -48361,63 +48344,6 @@ Object.defineProperties( BufferGeometry.prototype, {

} );

Object.defineProperties( InstancedBufferGeometry.prototype, {

maxInstancedCount: {
get: function () {

console.warn( 'THREE.InstancedBufferGeometry: .maxInstancedCount has been renamed to .instanceCount.' );
return this.instanceCount;

},
set: function ( value ) {

console.warn( 'THREE.InstancedBufferGeometry: .maxInstancedCount has been renamed to .instanceCount.' );
this.instanceCount = value;

}
}

} );

Object.defineProperties( Raycaster.prototype, {

linePrecision: {
get: function () {

console.warn( 'THREE.Raycaster: .linePrecision has been deprecated. Use .params.Line.threshold instead.' );
return this.params.Line.threshold;

},
set: function ( value ) {

console.warn( 'THREE.Raycaster: .linePrecision has been deprecated. Use .params.Line.threshold instead.' );
this.params.Line.threshold = value;

}
}

} );

Object.defineProperties( InterleavedBuffer.prototype, {

dynamic: {
get: function () {

console.warn( 'THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.' );
return this.usage === DynamicDrawUsage;

},
set: function ( value ) {

console.warn( 'THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.' );
this.setUsage( value );

}
}

} );

InterleavedBuffer.prototype.setDynamic = function ( value ) {

console.warn( 'THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead.' );
Expand Down Expand Up @@ -48539,25 +48465,6 @@ Object.defineProperties( Material.prototype, {

} );

Object.defineProperties( MeshPhysicalMaterial.prototype, {

transparency: {
get: function () {

console.warn( 'THREE.MeshPhysicalMaterial: .transparency has been renamed to .transmission.' );
return this.transmission;

},
set: function ( value ) {

console.warn( 'THREE.MeshPhysicalMaterial: .transparency has been renamed to .transmission.' );
this.transmission = value;

}
}

} );

Object.defineProperties( ShaderMaterial.prototype, {

derivatives: {
Expand Down

0 comments on commit be270ae

Please sign in to comment.