@vertexvis/geometry 0.20.2 → 0.20.3-canary.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.
@@ -271,6 +271,10 @@ export declare function transpose(matrix: Matrix4): Matrix4;
271
271
  */
272
272
  export declare function scale(matrix: Matrix4, scale: Vector3.Vector3): Matrix4;
273
273
  export declare function position(matrix: Matrix4, other: Matrix4): Matrix4;
274
+ /**
275
+ * Returns true if the matrix is an identity matrix.
276
+ */
277
+ export declare function isIdentity(matrix: Matrix4): boolean;
274
278
  /**
275
279
  * Returns an object representation of a `Matrix4`.
276
280
  */
package/dist/matrix4.d.ts CHANGED
@@ -271,6 +271,10 @@ export declare function transpose(matrix: Matrix4): Matrix4;
271
271
  */
272
272
  export declare function scale(matrix: Matrix4, scale: Vector3.Vector3): Matrix4;
273
273
  export declare function position(matrix: Matrix4, other: Matrix4): Matrix4;
274
+ /**
275
+ * Returns true if the matrix is an identity matrix.
276
+ */
277
+ export declare function isIdentity(matrix: Matrix4): boolean;
274
278
  /**
275
279
  * Returns an object representation of a `Matrix4`.
276
280
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/geometry",
3
- "version": "0.20.2",
3
+ "version": "0.20.3-canary.1",
4
4
  "description": "Library for 2D and 3D geometric types.",
5
5
  "license": "MIT",
6
6
  "author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",
@@ -40,7 +40,7 @@
40
40
  "@types/jest": "^27.5.1",
41
41
  "@vertexvis/eslint-config-vertexvis-typescript": "^0.5.0",
42
42
  "@vertexvis/jest-config-vertexvis": "^0.5.4",
43
- "@vertexwebsdk/build": "0.20.0",
43
+ "@vertexwebsdk/build": "0.20.3-canary.1",
44
44
  "eslint": "^8.17.0",
45
45
  "jest": "^27.5.1",
46
46
  "rollup": "^2.75.6",
@@ -51,5 +51,5 @@
51
51
  "peerDependencies": {
52
52
  "tslib": ">=2.1.0"
53
53
  },
54
- "gitHead": "f8d72a9d5a768f12e8f39bb7f2e4231a8df861d2"
54
+ "gitHead": "1f42206811fd5d5c7e789f88f117e4b4c00b8bf5"
55
55
  }