@vertexvis/geometry 1.0.2-testing.1 → 1.0.2-testing.3

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/vector3.d.ts CHANGED
@@ -28,7 +28,11 @@ export declare function create(): Vector3;
28
28
  * component. A component is invalid if it contains a non-finite or NaN value.
29
29
  */
30
30
  export declare function isValid({ x, y, z }: Vector3): boolean;
31
- export declare function isAllZero({ x, y, z }: Vector3): boolean;
31
+ /**
32
+ * Checks if every component of the given vector is zero.
33
+ * Useful for detecting potentially problematic camera vectors, for example.
34
+ */
35
+ export declare function isZeroVector({ x, y, z }: Vector3): boolean;
32
36
  /**
33
37
  * Returns a vector representing the scale elements of `matrix`.
34
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/geometry",
3
- "version": "1.0.2-testing.1",
3
+ "version": "1.0.2-testing.3",
4
4
  "description": "Library for 2D and 3D geometric types.",
5
5
  "license": "MIT",
6
6
  "author": "Vertex Developers <support@vertex3d.com> (https://developer.vertex3d.com)",
@@ -49,7 +49,7 @@
49
49
  "@types/jest": "^29.5.14",
50
50
  "@vertexvis/eslint-config-vertexvis-typescript": "^0.5.0",
51
51
  "@vertexvis/jest-config-vertexvis": "^0.5.4",
52
- "@vertexwebsdk/build": "1.0.2-testing.1",
52
+ "@vertexwebsdk/build": "1.0.2-testing.3",
53
53
  "eslint": "^8.57.1",
54
54
  "jest": "^29.5.14",
55
55
  "jest-cli": "^29.5.14",
@@ -61,5 +61,5 @@
61
61
  "peerDependencies": {
62
62
  "tslib": ">=2.4.0"
63
63
  },
64
- "gitHead": "d28706dda29e84edaec7c7f2a5781bf619e2f112"
64
+ "gitHead": "b032d9a8131053f04965158610521c5aa842b967"
65
65
  }