@vertexvis/geometry 1.0.2-testing.0 → 1.0.2-testing.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.
package/dist/bundle.cjs CHANGED
@@ -1206,6 +1206,10 @@ function isValid$1(_a) {
1206
1206
  var x = _a.x, y = _a.y, z = _a.z;
1207
1207
  return [x, y, z].every(function (v) { return isFinite(v) && !isNaN(v); });
1208
1208
  }
1209
+ function isAllZero(_a) {
1210
+ var x = _a.x, y = _a.y, z = _a.z;
1211
+ return [x, y, z].every(function (v) { return v === 0; });
1212
+ }
1209
1213
  /**
1210
1214
  * Returns a vector representing the scale elements of `matrix`.
1211
1215
  */
@@ -1566,6 +1570,7 @@ var vector3 = /*#__PURE__*/Object.freeze({
1566
1570
  fromJson: fromJson$2,
1567
1571
  fromMatrixPosition: fromMatrixPosition,
1568
1572
  fromMatrixScale: fromMatrixScale,
1573
+ isAllZero: isAllZero,
1569
1574
  isEqual: isEqual$2,
1570
1575
  isValid: isValid$1,
1571
1576
  left: left,