|
@@ -491,7 +491,7 @@ THREE.BufferGeometry.prototype = {
|
|
|
|
|
|
if ( isNaN( this.boundingBox.min.x ) || isNaN( this.boundingBox.min.y ) || isNaN( this.boundingBox.min.z ) ) {
|
|
if ( isNaN( this.boundingBox.min.x ) || isNaN( this.boundingBox.min.y ) || isNaN( this.boundingBox.min.z ) ) {
|
|
|
|
|
|
- THREE.error( 'THREE.BufferGeometry.computeBoundingBox: Computed min/max have NaN values. The "position" attribute is likely to have NaN values.' );
|
|
|
|
|
|
+ THREE.error( 'THREE.BufferGeometry.computeBoundingBox: Computed min/max have NaN values. The "position" attribute is likely to have NaN values.', this );
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -545,7 +545,7 @@ THREE.BufferGeometry.prototype = {
|
|
|
|
|
|
if ( isNaN( this.boundingSphere.radius ) ) {
|
|
if ( isNaN( this.boundingSphere.radius ) ) {
|
|
|
|
|
|
- THREE.error( 'THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.' );
|
|
|
|
|
|
+ THREE.error( 'THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.', this );
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|