|
@@ -3,6 +3,12 @@
|
|
|
*/
|
|
|
|
|
|
Object.defineProperties( THREE.Box2.prototype, {
|
|
|
+ empty: {
|
|
|
+ value: function () {
|
|
|
+ console.warn( 'THREE.Box2: .empty() has been renamed to .isEmpty().' );
|
|
|
+ return this.isEmpty();
|
|
|
+ }
|
|
|
+ },
|
|
|
isIntersectionBox: {
|
|
|
value: function ( box ) {
|
|
|
console.warn( 'THREE.Box2: .isIntersectionBox() has been renamed to .intersectsBox().' );
|
|
@@ -12,6 +18,12 @@ Object.defineProperties( THREE.Box2.prototype, {
|
|
|
} );
|
|
|
|
|
|
Object.defineProperties( THREE.Box3.prototype, {
|
|
|
+ empty: {
|
|
|
+ value: function () {
|
|
|
+ console.warn( 'THREE.Box3: .empty() has been renamed to .isEmpty().' );
|
|
|
+ return this.isEmpty();
|
|
|
+ }
|
|
|
+ },
|
|
|
isIntersectionBox: {
|
|
|
value: function ( box ) {
|
|
|
console.warn( 'THREE.Box3: .isIntersectionBox() has been renamed to .intersectsBox().' );
|