|
@@ -32,7 +32,7 @@ THREE.BoxHelper.prototype.update = ( function () {
|
|
|
|
|
|
box.setFromObject( object );
|
|
|
|
|
|
- if ( box.empty() ) return;
|
|
|
+ if ( box.isEmpty() ) return;
|
|
|
|
|
|
var min = box.min;
|
|
|
var max = box.max;
|
|
@@ -69,6 +69,6 @@ THREE.BoxHelper.prototype.update = ( function () {
|
|
|
|
|
|
this.geometry.computeBoundingSphere();
|
|
|
|
|
|
- }
|
|
|
+ };
|
|
|
|
|
|
} )();
|