@vertexvis/geometry 0.12.0-canary.6 → 0.12.0

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.
@@ -1,6 +1,6 @@
1
+ import * as Euler from './euler';
1
2
  import * as Matrix4 from './matrix4';
2
3
  import * as Vector3 from './vector3';
3
- import * as Euler from './euler';
4
4
  /**
5
5
  * A type that represents a
6
6
  * [quaternion](http://en.wikipedia.org/wiki/Quaternion). Quaternions are used
package/dist/matrix4.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as Vector3 from './vector3';
2
1
  import * as Quaternion from './quaternion';
2
+ import * as Vector3 from './vector3';
3
3
  /**
4
4
  * A type alias representing a 4x4 column-major matrix.
5
5
  *
@@ -91,13 +91,14 @@ export declare function makeTranslation(translation: Vector3.Vector3): Matrix4;
91
91
  * Creates a rotation matrix.
92
92
  *
93
93
  * ```
94
- * 1-2y²-2z², 2xy+2zw, 2xz-2yw, 0,
95
- * 2xy-2zw, 1-2x²-2z², 2yz+2xw, 0,
96
- * 2xz+2yw, 2yz-2xw, 1-2x²-2y², 0,
94
+ * 1-2y²-2z², 2xy-2zw, 2xz+2yw, 0,
95
+ * 2xy+2zw, 1-2x²-2z², 2yz-2xw, 0,
96
+ * 2xz-2yw, 2yz+2xw, 1-2x²-2y², 0,
97
97
  * 0, 0, 0, 1,
98
98
  * ```
99
99
  *
100
100
  * @param rotation A quaternion representing the rotation.
101
+ * @see https://en.wikipedia.org/wiki/Rotation_matrix#Quaternion
101
102
  * @returns A rotation matrix.
102
103
  */
103
104
  export declare function makeRotation(rotation: Quaternion.Quaternion): Matrix4;
@@ -1,6 +1,6 @@
1
+ import * as Euler from './euler';
1
2
  import * as Matrix4 from './matrix4';
2
3
  import * as Vector3 from './vector3';
3
- import * as Euler from './euler';
4
4
  /**
5
5
  * A type that represents a
6
6
  * [quaternion](http://en.wikipedia.org/wiki/Quaternion). Quaternions are used
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/geometry",
3
- "version": "0.12.0-canary.6",
3
+ "version": "0.12.0",
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)",
@@ -37,18 +37,18 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/jest": "^26.0.20",
40
- "@vertexvis/eslint-config-vertexvis-typescript": "^0.4.1",
41
- "@vertexvis/jest-config-vertexvis": "^0.5.3",
42
- "@vertexwebsdk/build": "^0.12.0-canary.6",
43
- "eslint": "^7.20.0",
40
+ "@vertexvis/eslint-config-vertexvis-typescript": "^0.5.0",
41
+ "@vertexvis/jest-config-vertexvis": "^0.5.4",
42
+ "@vertexwebsdk/build": "0.12.0",
43
+ "eslint": "^8.6.0",
44
44
  "jest": "^26.6.3",
45
- "rollup": "^2.58.0",
45
+ "rollup": "^2.63.0",
46
46
  "ts-jest": "^26.5.2",
47
47
  "tslib": "^2.1.0",
48
- "typescript": "^4.4.4"
48
+ "typescript": "^4.5.4"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "tslib": ">=2.1.0"
52
52
  },
53
- "gitHead": "4d0138d1d94e75cb5bbdf7f9dc41cb2eaa7b7481"
53
+ "gitHead": "9642bca08f9e57be8234032a62d6ae1e27233977"
54
54
  }