@esotericsoftware/spine-core 4.2.70 → 4.2.72

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.
@@ -7134,7 +7134,7 @@ var spine = (() => {
7134
7134
  }
7135
7135
  if (a >= t) {
7136
7136
  d = Math.pow(this.damping, 60 * t);
7137
- const m = this.massInverse * t, e = this.strength, w = this.wind * f, g = (Skeleton.yDown ? -this.gravity : this.gravity) * f;
7137
+ const m = this.massInverse * t, e = this.strength, w = this.wind * f * skeleton.scaleX, g = this.gravity * f * skeleton.scaleY;
7138
7138
  do {
7139
7139
  if (x) {
7140
7140
  this.xVelocity += (w - this.xOffset * e) * m;
@@ -8089,10 +8089,10 @@ var spine = (() => {
8089
8089
  }
8090
8090
  /** Returns the axis aligned bounding box (AABB) of the region and mesh attachments for the current pose as `{ x: number, y: number, width: number, height: number }`.
8091
8091
  * Note that this method will create temporary objects which can add to garbage collection pressure. Use `getBounds()` if garbage collection is a concern. */
8092
- getBoundsRect() {
8092
+ getBoundsRect(clipper) {
8093
8093
  let offset = new Vector2();
8094
8094
  let size = new Vector2();
8095
- this.getBounds(offset, size);
8095
+ this.getBounds(offset, size, void 0, clipper);
8096
8096
  return { x: offset.x, y: offset.y, width: size.x, height: size.y };
8097
8097
  }
8098
8098
  /** Returns the axis aligned bounding box (AABB) of the region and mesh attachments for the current pose.