@stemy/ngx-utils 12.2.0 → 12.2.1

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.
@@ -1690,7 +1690,7 @@
1690
1690
  }
1691
1691
  MathUtils.equal = function (a, b, epsilon) {
1692
1692
  if (epsilon === void 0) { epsilon = null; }
1693
- epsilon = ObjectUtils.isNumber(epsilon) ? epsilon : Math.E;
1693
+ epsilon = ObjectUtils.isNumber(epsilon) ? epsilon : MathUtils.EPSILON;
1694
1694
  return Math.abs(a - b) < epsilon;
1695
1695
  };
1696
1696
  MathUtils.clamp = function (value, min, max) {
@@ -1734,7 +1734,8 @@
1734
1734
  return (_a = values[index]) !== null && _a !== void 0 ? _a : null;
1735
1735
  };
1736
1736
  return MathUtils;
1737
- }());
1737
+ }());
1738
+ MathUtils.EPSILON = 1e-9;
1738
1739
 
1739
1740
  /**
1740
1741
  * Use this service to determine which is the current environment