@woosh/meep-engine 2.94.5 → 2.94.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/meep.cjs CHANGED
@@ -56605,6 +56605,10 @@ class AABB3 {
56605
56605
  return (this.x1 - this.x0);
56606
56606
  }
56607
56607
 
56608
+ get width() {
56609
+ return this.getExtentsX();
56610
+ }
56611
+
56608
56612
  /**
56609
56613
  *
56610
56614
  * @returns {number}
@@ -56613,6 +56617,10 @@ class AABB3 {
56613
56617
  return (this.y1 - this.y0);
56614
56618
  }
56615
56619
 
56620
+ get height() {
56621
+ return this.getExtentsY();
56622
+ }
56623
+
56616
56624
  /**
56617
56625
  *
56618
56626
  * @returns {number}
@@ -56621,6 +56629,10 @@ class AABB3 {
56621
56629
  return (this.z1 - this.z0);
56622
56630
  }
56623
56631
 
56632
+ get depth() {
56633
+ return this.getExtentsZ();
56634
+ }
56635
+
56624
56636
  /**
56625
56637
  * half-width in X axis
56626
56638
  * @returns {number}
@@ -56665,6 +56677,10 @@ class AABB3 {
56665
56677
  return (this.x0 + this.x1) * 0.5;
56666
56678
  }
56667
56679
 
56680
+ get centerX() {
56681
+ return this.getCenterX();
56682
+ }
56683
+
56668
56684
  /**
56669
56685
  *
56670
56686
  * @returns {number}
@@ -56673,6 +56689,10 @@ class AABB3 {
56673
56689
  return (this.y0 + this.y1) * 0.5;
56674
56690
  }
56675
56691
 
56692
+ get centerY() {
56693
+ return this.getCenterY();
56694
+ }
56695
+
56676
56696
  /**
56677
56697
  *
56678
56698
  * @returns {number}
@@ -56681,6 +56701,10 @@ class AABB3 {
56681
56701
  return (this.z0 + this.z1) * 0.5;
56682
56702
  }
56683
56703
 
56704
+ get centerZ() {
56705
+ return this.getCenterZ();
56706
+ }
56707
+
56684
56708
  /**
56685
56709
  * Get center position of the box
56686
56710
  * @param {Vector3} target where to write result