|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
THREE.Box3 = function ( min, max ) {
|
|
|
|
|
|
- this.min = ( min !== undefined ) ? min : new THREE.Vector3( Infinity, Infinity, Infinity );
|
|
|
+ this.min = ( min !== undefined ) ? min : new THREE.Vector3( + Infinity, + Infinity, + Infinity );
|
|
|
this.max = ( max !== undefined ) ? max : new THREE.Vector3( - Infinity, - Infinity, - Infinity );
|
|
|
|
|
|
};
|
|
@@ -147,7 +147,7 @@ THREE.Box3.prototype = {
|
|
|
|
|
|
makeEmpty: function () {
|
|
|
|
|
|
- this.min.x = this.min.y = this.min.z = Infinity;
|
|
|
+ this.min.x = this.min.y = this.min.z = + Infinity;
|
|
|
this.max.x = this.max.y = this.max.z = - Infinity;
|
|
|
|
|
|
return this;
|