@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 +5 -0
- package/dist/bundle.cjs.map +1 -1
- package/dist/bundle.js +5 -0
- package/dist/bundle.js.map +1 -1
- package/dist/cdn/bundle.js +5 -0
- package/dist/cdn/bundle.js.map +1 -1
- package/dist/cdn/bundle.min.js +1 -1
- package/dist/cdn/bundle.min.js.map +1 -1
- package/dist/vector3.d.ts +1 -0
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -1204,6 +1204,10 @@ function isValid$1(_a) {
|
|
|
1204
1204
|
var x = _a.x, y = _a.y, z = _a.z;
|
|
1205
1205
|
return [x, y, z].every(function (v) { return isFinite(v) && !isNaN(v); });
|
|
1206
1206
|
}
|
|
1207
|
+
function isAllZero(_a) {
|
|
1208
|
+
var x = _a.x, y = _a.y, z = _a.z;
|
|
1209
|
+
return [x, y, z].every(function (v) { return v === 0; });
|
|
1210
|
+
}
|
|
1207
1211
|
/**
|
|
1208
1212
|
* Returns a vector representing the scale elements of `matrix`.
|
|
1209
1213
|
*/
|
|
@@ -1564,6 +1568,7 @@ var vector3 = /*#__PURE__*/Object.freeze({
|
|
|
1564
1568
|
fromJson: fromJson$2,
|
|
1565
1569
|
fromMatrixPosition: fromMatrixPosition,
|
|
1566
1570
|
fromMatrixScale: fromMatrixScale,
|
|
1571
|
+
isAllZero: isAllZero,
|
|
1567
1572
|
isEqual: isEqual$2,
|
|
1568
1573
|
isValid: isValid$1,
|
|
1569
1574
|
left: left,
|