@lakuna/umath 2.0.0 → 3.0.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.
- package/LICENSE +1 -1
- package/dist/algorithms/greatestCommonDivisor.d.ts.map +1 -1
- package/dist/algorithms/greatestCommonDivisor.js +14 -4
- package/dist/algorithms/greatestCommonDivisor.js.map +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/linalg/DualQuaternion.d.ts +124 -124
- package/dist/linalg/DualQuaternion.d.ts.map +1 -1
- package/dist/linalg/DualQuaternion.js +173 -165
- package/dist/linalg/DualQuaternion.js.map +1 -1
- package/dist/linalg/Matrix.d.ts +24 -24
- package/dist/linalg/Matrix.d.ts.map +1 -1
- package/dist/linalg/Matrix2.d.ts +63 -63
- package/dist/linalg/Matrix2.d.ts.map +1 -1
- package/dist/linalg/Matrix2.js +92 -88
- package/dist/linalg/Matrix2.js.map +1 -1
- package/dist/linalg/Matrix3.d.ts +107 -107
- package/dist/linalg/Matrix3.d.ts.map +1 -1
- package/dist/linalg/Matrix3.js +147 -138
- package/dist/linalg/Matrix3.js.map +1 -1
- package/dist/linalg/Matrix4.d.ts +200 -201
- package/dist/linalg/Matrix4.d.ts.map +1 -1
- package/dist/linalg/Matrix4.js +272 -251
- package/dist/linalg/Matrix4.js.map +1 -1
- package/dist/linalg/Quaternion.d.ts +116 -116
- package/dist/linalg/Quaternion.d.ts.map +1 -1
- package/dist/linalg/Quaternion.js +175 -161
- package/dist/linalg/Quaternion.js.map +1 -1
- package/dist/linalg/SlowMatrix.d.ts +5 -5
- package/dist/linalg/SlowMatrix.d.ts.map +1 -1
- package/dist/linalg/SlowMatrix.js +12 -12
- package/dist/linalg/SlowMatrix.js.map +1 -1
- package/dist/linalg/SlowSquareMatrix.d.ts +6 -6
- package/dist/linalg/SlowSquareMatrix.d.ts.map +1 -1
- package/dist/linalg/SlowSquareMatrix.js +15 -15
- package/dist/linalg/SlowSquareMatrix.js.map +1 -1
- package/dist/linalg/SlowVector.d.ts +70 -70
- package/dist/linalg/SlowVector.d.ts.map +1 -1
- package/dist/linalg/SlowVector.js +153 -153
- package/dist/linalg/SlowVector.js.map +1 -1
- package/dist/linalg/SquareMatrix.d.ts +8 -8
- package/dist/linalg/SquareMatrix.d.ts.map +1 -1
- package/dist/linalg/Vector.d.ts +85 -84
- package/dist/linalg/Vector.d.ts.map +1 -1
- package/dist/linalg/Vector2.d.ts +104 -104
- package/dist/linalg/Vector2.d.ts.map +1 -1
- package/dist/linalg/Vector2.js +145 -143
- package/dist/linalg/Vector2.js.map +1 -1
- package/dist/linalg/Vector3.d.ts +130 -130
- package/dist/linalg/Vector3.d.ts.map +1 -1
- package/dist/linalg/Vector3.js +176 -173
- package/dist/linalg/Vector3.js.map +1 -1
- package/dist/linalg/Vector4.d.ts +101 -101
- package/dist/linalg/Vector4.d.ts.map +1 -1
- package/dist/linalg/Vector4.js +144 -140
- package/dist/linalg/Vector4.js.map +1 -1
- package/dist/types/AxisAngle.d.ts +2 -2
- package/dist/types/AxisAngle.d.ts.map +1 -1
- package/dist/types/FieldOfView.d.ts +2 -2
- package/dist/types/FieldOfView.d.ts.map +1 -1
- package/dist/utility/BigNumber.d.ts +21 -11
- package/dist/utility/BigNumber.d.ts.map +1 -1
- package/dist/utility/BigNumber.js +42 -31
- package/dist/utility/BigNumber.js.map +1 -1
- package/dist/utility/createAxisAngleLike.d.ts.map +1 -1
- package/dist/utility/createAxisAngleLike.js.map +1 -1
- package/package.json +11 -9
- package/src/algorithms/greatestCommonDivisor.ts +19 -7
- package/src/index.ts +17 -13
- package/src/linalg/DualQuaternion.ts +208 -193
- package/src/linalg/Matrix.ts +28 -28
- package/src/linalg/Matrix2.ts +117 -108
- package/src/linalg/Matrix3.ts +177 -158
- package/src/linalg/Matrix4.ts +386 -348
- package/src/linalg/Quaternion.ts +207 -189
- package/src/linalg/SlowMatrix.ts +19 -18
- package/src/linalg/SlowSquareMatrix.ts +19 -18
- package/src/linalg/SlowVector.ts +170 -169
- package/src/linalg/SquareMatrix.ts +9 -9
- package/src/linalg/Vector.ts +91 -89
- package/src/linalg/Vector2.ts +160 -155
- package/src/linalg/Vector3.ts +206 -199
- package/src/linalg/Vector4.ts +165 -156
- package/src/types/AxisAngle.ts +3 -3
- package/src/types/FieldOfView.ts +3 -3
- package/src/utility/BigNumber.ts +63 -41
- package/src/utility/createAxisAngleLike.ts +1 -0
package/LICENSE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greatestCommonDivisor.d.ts","sourceRoot":"","sources":["../../src/algorithms/greatestCommonDivisor.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"greatestCommonDivisor.d.ts","sourceRoot":"","sources":["../../src/algorithms/greatestCommonDivisor.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;AAC5E;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
export default function greatestCommonDivisor(a, b) {
|
|
2
|
+
if (typeof a === "number" && typeof b === "number") {
|
|
3
|
+
// Ensure that both of the integers are positive.
|
|
4
|
+
let c = Math.abs(a);
|
|
5
|
+
let d = Math.abs(b);
|
|
6
|
+
// Apply the Euclidean algorithm.
|
|
7
|
+
while (d) {
|
|
8
|
+
[c, d] = [d, c % d];
|
|
9
|
+
}
|
|
10
|
+
return c;
|
|
11
|
+
}
|
|
12
|
+
if (typeof a === "number" || typeof b === "number") {
|
|
13
|
+
throw new Error("Mismatched argument types.");
|
|
14
|
+
}
|
|
2
15
|
// Ensure that both of the integers are positive. Can't use `Math.abs` in case `a` and `b` are `bigint`s.
|
|
3
16
|
let c = a < 0 ? -a : a;
|
|
4
17
|
let d = b < 0 ? -b : b;
|
|
5
18
|
// Apply the Euclidean algorithm.
|
|
6
19
|
while (d) {
|
|
7
|
-
|
|
8
|
-
const temp = c;
|
|
9
|
-
c = d;
|
|
10
|
-
d = temp % d;
|
|
20
|
+
[c, d] = [d, c % d];
|
|
11
21
|
}
|
|
12
22
|
return c;
|
|
13
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greatestCommonDivisor.js","sourceRoot":"","sources":["../../src/algorithms/greatestCommonDivisor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"greatestCommonDivisor.js","sourceRoot":"","sources":["../../src/algorithms/greatestCommonDivisor.ts"],"names":[],"mappings":"AAkBA,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC5C,CAAkB,EAClB,CAAkB;IAElB,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;QACpD,iDAAiD;QACjD,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACpB,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAEpB,iCAAiC;QACjC,OAAO,CAAC,EAAE,CAAC;YACV,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACrB,CAAC;QAED,OAAO,CAAC,CAAC;IACV,CAAC;IAED,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;QACpD,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAC/C,CAAC;IAED,yGAAyG;IACzG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACvB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEvB,iCAAiC;IACjC,OAAO,CAAC,EAAE,CAAC;QACV,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,CAAC;IAED,OAAO,CAAC,CAAC;AACV,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -12,23 +12,23 @@ export { default as permutations } from "./algorithms/permutations.js";
|
|
|
12
12
|
export { default as primeFactorization } from "./algorithms/primeFactorization.js";
|
|
13
13
|
export { default as radiansToDegrees } from "./algorithms/radiansToDegrees.js";
|
|
14
14
|
export { default as summation } from "./algorithms/summation.js";
|
|
15
|
-
export {
|
|
16
|
-
export
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export
|
|
20
|
-
export {
|
|
15
|
+
export { default as DualQuaternion, type DualQuaternionLike } from "./linalg/DualQuaternion.js";
|
|
16
|
+
export { default as Matrix2, type Matrix2Like } from "./linalg/Matrix2.js";
|
|
17
|
+
export { default as Matrix3, type Matrix3Like } from "./linalg/Matrix3.js";
|
|
18
|
+
export { default as Matrix4, type Matrix4Like } from "./linalg/Matrix4.js";
|
|
19
|
+
export type { default as Matrix, MatrixLike } from "./linalg/Matrix.js";
|
|
20
|
+
export { default as Quaternion, type QuaternionLike } from "./linalg/Quaternion.js";
|
|
21
21
|
export { default as SlowMatrix } from "./linalg/SlowMatrix.js";
|
|
22
22
|
export { default as SlowSquareMatrix } from "./linalg/SlowSquareMatrix.js";
|
|
23
23
|
export { default as SlowVector } from "./linalg/SlowVector.js";
|
|
24
24
|
export type { default as SquareMatrix } from "./linalg/SquareMatrix.js";
|
|
25
|
-
export
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export
|
|
25
|
+
export { default as Vector2, type Vector2Like } from "./linalg/Vector2.js";
|
|
26
|
+
export { default as Vector3, type Vector3Like } from "./linalg/Vector3.js";
|
|
27
|
+
export { default as Vector4, type Vector4Like } from "./linalg/Vector4.js";
|
|
28
|
+
export type { default as Vector, VectorLike } from "./linalg/Vector.js";
|
|
29
29
|
export type { default as AxisAngle } from "./types/AxisAngle.js";
|
|
30
30
|
export type { default as FieldOfView } from "./types/FieldOfView.js";
|
|
31
|
-
export { default as BigNumber } from "./utility/BigNumber.js";
|
|
31
|
+
export { type BigIntLike, default as BigNumber, type BigNumberLike } from "./utility/BigNumber.js";
|
|
32
32
|
export { default as createAxisAngleLike } from "./utility/createAxisAngleLike.js";
|
|
33
33
|
export { default as epsilon } from "./utility/epsilon.js";
|
|
34
34
|
export { default as MagnitudeError } from "./utility/MagnitudeError.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,gBAAgB;AAGhB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,mCAAmC,CAAC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F,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -28,7 +28,7 @@ export interface DualQuaternionLike extends Record<number, number> {
|
|
|
28
28
|
* @returns A dual quaternion-like object.
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
|
-
export declare const createDualQuaternionLike: () =>
|
|
31
|
+
export declare const createDualQuaternionLike: () => DualQuaternionLike & Float32Array;
|
|
32
32
|
/**
|
|
33
33
|
* Create a dual quaternion with the given values.
|
|
34
34
|
* @param x1 - The first real component.
|
|
@@ -302,19 +302,43 @@ export declare const equals: (a: DualQuaternionLike, b: DualQuaternionLike) => b
|
|
|
302
302
|
* @public
|
|
303
303
|
*/
|
|
304
304
|
export default class DualQuaternion extends Float32Array implements DualQuaternionLike {
|
|
305
|
+
/** The first real component of this dual quaternion. */
|
|
306
|
+
0: number;
|
|
307
|
+
/** The second real component of this dual quaternion. */
|
|
308
|
+
1: number;
|
|
309
|
+
/** The third real component of this dual quaternion. */
|
|
310
|
+
2: number;
|
|
311
|
+
/** The fourth real component of this dual quaternion. */
|
|
312
|
+
3: number;
|
|
313
|
+
/** The first dual component of this dual quaternion. */
|
|
314
|
+
4: number;
|
|
315
|
+
/** The second dual component of this dual quaternion. */
|
|
316
|
+
5: number;
|
|
317
|
+
/** The third dual component of this dual quaternion. */
|
|
318
|
+
6: number;
|
|
319
|
+
/** The fourth dual component of this dual quaternion. */
|
|
320
|
+
7: number;
|
|
321
|
+
/** Get the magnitude (length) of this dual quaternion. */
|
|
322
|
+
get magnitude(): number;
|
|
323
|
+
/** Get the squared magnitude (length) of this dual quaternion. */
|
|
324
|
+
get squaredMagnitude(): number;
|
|
305
325
|
/**
|
|
306
|
-
* Create
|
|
307
|
-
* @
|
|
308
|
-
* @param y1 - The second real component.
|
|
309
|
-
* @param z1 - The third real component.
|
|
310
|
-
* @param w1 - The fourth real component.
|
|
311
|
-
* @param x2 - The first dual component.
|
|
312
|
-
* @param y2 - The second dual component.
|
|
313
|
-
* @param z2 - The third dual component.
|
|
314
|
-
* @param w2 - The fourth dual component.
|
|
315
|
-
* @returns A new dual quaternion.
|
|
326
|
+
* Create an identity dual quaternion.
|
|
327
|
+
* @see {@link https://en.wikipedia.org/wiki/Dual_quaternion | Dual quaternion}
|
|
316
328
|
*/
|
|
317
|
-
|
|
329
|
+
constructor();
|
|
330
|
+
/**
|
|
331
|
+
* Create a dual quaternion from the given four-by-four matrix.
|
|
332
|
+
* @param matrix - The matrix.
|
|
333
|
+
* @returns The dual quaternion.
|
|
334
|
+
*/
|
|
335
|
+
static fromMatrix4(matrix: Matrix4Like): DualQuaternion;
|
|
336
|
+
/**
|
|
337
|
+
* Create a dual quaternion from the given rotation.
|
|
338
|
+
* @param q - The rotation quaternion.
|
|
339
|
+
* @returns The dual quaternion.
|
|
340
|
+
*/
|
|
341
|
+
static fromRotation(q: QuaternionLike): DualQuaternion;
|
|
318
342
|
/**
|
|
319
343
|
* Create a dual quaternion from the given rotation and translation.
|
|
320
344
|
* @param q - The rotation quaternion.
|
|
@@ -329,38 +353,34 @@ export default class DualQuaternion extends Float32Array implements DualQuaterni
|
|
|
329
353
|
*/
|
|
330
354
|
static fromTranslation(t: Vector3Like): DualQuaternion;
|
|
331
355
|
/**
|
|
332
|
-
* Create a dual quaternion
|
|
333
|
-
* @param
|
|
334
|
-
* @
|
|
356
|
+
* Create a dual quaternion with the given values.
|
|
357
|
+
* @param x1 - The first real component.
|
|
358
|
+
* @param y1 - The second real component.
|
|
359
|
+
* @param z1 - The third real component.
|
|
360
|
+
* @param w1 - The fourth real component.
|
|
361
|
+
* @param x2 - The first dual component.
|
|
362
|
+
* @param y2 - The second dual component.
|
|
363
|
+
* @param z2 - The third dual component.
|
|
364
|
+
* @param w2 - The fourth dual component.
|
|
365
|
+
* @returns A new dual quaternion.
|
|
335
366
|
*/
|
|
336
|
-
static
|
|
367
|
+
static fromValues(x1: number, y1: number, z1: number, w1: number, x2: number, y2: number, z2: number, w2: number): DualQuaternion;
|
|
337
368
|
/**
|
|
338
|
-
*
|
|
339
|
-
* @param
|
|
340
|
-
* @returns The
|
|
369
|
+
* Add another dual quaternion to this one.
|
|
370
|
+
* @param dq - The other dual quaternion.
|
|
371
|
+
* @returns The sum.
|
|
341
372
|
*/
|
|
342
|
-
|
|
373
|
+
add(dq: DualQuaternionLike): DualQuaternion;
|
|
343
374
|
/**
|
|
344
|
-
*
|
|
345
|
-
* @
|
|
375
|
+
* Copy the values from this dual quaternion to another one.
|
|
376
|
+
* @returns The copy.
|
|
346
377
|
*/
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
2: number;
|
|
354
|
-
/** The fourth real component of this dual quaternion. */
|
|
355
|
-
3: number;
|
|
356
|
-
/** The first dual component of this dual quaternion. */
|
|
357
|
-
4: number;
|
|
358
|
-
/** The second dual component of this dual quaternion. */
|
|
359
|
-
5: number;
|
|
360
|
-
/** The third dual component of this dual quaternion. */
|
|
361
|
-
6: number;
|
|
362
|
-
/** The fourth dual component of this dual quaternion. */
|
|
363
|
-
7: number;
|
|
378
|
+
clone(): DualQuaternion;
|
|
379
|
+
/**
|
|
380
|
+
* Calculate the conjugate of this dual quaternion. If this dual quaternion is normalized, this is equivalent to its inverse and faster to calculate.
|
|
381
|
+
* @returns The conjugate.
|
|
382
|
+
*/
|
|
383
|
+
conjugate(): DualQuaternion;
|
|
364
384
|
/**
|
|
365
385
|
* Copy the values from another dual quaternion to this one.
|
|
366
386
|
* @param dualQuaternion - The dual quaternion to copy.
|
|
@@ -368,64 +388,74 @@ export default class DualQuaternion extends Float32Array implements DualQuaterni
|
|
|
368
388
|
*/
|
|
369
389
|
copy(dualQuaternion: DualQuaternionLike): this;
|
|
370
390
|
/**
|
|
371
|
-
*
|
|
372
|
-
* @
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* Set this dual quaternion to the identity dual quaternion.
|
|
377
|
-
* @returns The identity dual quaternion.
|
|
391
|
+
* Calculate the dot product of this and another dual quaternion.
|
|
392
|
+
* @param dq - The other dual quaternion.
|
|
393
|
+
* @returns The dot product.
|
|
394
|
+
* @see {@link https://en.wikipedia.org/wiki/Dot_product | Dot product}
|
|
378
395
|
*/
|
|
379
|
-
|
|
396
|
+
dot(dq: DualQuaternionLike): number;
|
|
380
397
|
/**
|
|
381
|
-
*
|
|
382
|
-
* @
|
|
398
|
+
* Determine whether or not this dual quaternion is roughly equivalent to another.
|
|
399
|
+
* @param dq - The other dual quaternion.
|
|
400
|
+
* @returns Whether or not the dual quaternions are equivalent.
|
|
383
401
|
*/
|
|
384
|
-
|
|
402
|
+
equals(dq: DualQuaternionLike): boolean;
|
|
385
403
|
/**
|
|
386
|
-
*
|
|
387
|
-
* @param
|
|
404
|
+
* Determine whether or not this dual quaternion is exactly equivalent to another.
|
|
405
|
+
* @param dq - The other dual quaternion.
|
|
406
|
+
* @returns Whether or not the dual quaternions are equivalent.
|
|
388
407
|
*/
|
|
389
|
-
|
|
408
|
+
exactEquals(dq: DualQuaternionLike): boolean;
|
|
390
409
|
/**
|
|
391
410
|
* Get the dual part of this dual quaternion.
|
|
392
411
|
* @returns The dual part.
|
|
393
412
|
*/
|
|
394
413
|
getDual(): Quaternion;
|
|
395
414
|
/**
|
|
396
|
-
*
|
|
397
|
-
* @
|
|
415
|
+
* Get the real part of this dual quaternion.
|
|
416
|
+
* @returns The real part.
|
|
398
417
|
*/
|
|
399
|
-
|
|
418
|
+
getReal(): Quaternion;
|
|
400
419
|
/**
|
|
401
420
|
* Get the translation of this normalized dual quaternion.
|
|
402
421
|
* @returns The translation.
|
|
403
422
|
*/
|
|
404
423
|
getTranslation(): Vector3;
|
|
405
424
|
/**
|
|
406
|
-
*
|
|
407
|
-
* @
|
|
408
|
-
* @returns The translated dual quaternion.
|
|
425
|
+
* Set this dual quaternion to the identity dual quaternion.
|
|
426
|
+
* @returns The identity dual quaternion.
|
|
409
427
|
*/
|
|
410
|
-
|
|
428
|
+
identity(): this;
|
|
411
429
|
/**
|
|
412
|
-
*
|
|
413
|
-
* @
|
|
414
|
-
* @returns The rotated dual quaternion.
|
|
430
|
+
* Calculate the inverse of this dual quaternion. If this dual quaternion is normalized, the conjugate is equivalent and faster to calculate.
|
|
431
|
+
* @returns The inverse.
|
|
415
432
|
*/
|
|
416
|
-
|
|
433
|
+
invert(): DualQuaternion;
|
|
417
434
|
/**
|
|
418
|
-
*
|
|
419
|
-
* @param
|
|
420
|
-
* @
|
|
435
|
+
* Perform a linear interpolation between this and another dual quaternion.
|
|
436
|
+
* @param dq - The other dual quaternion.
|
|
437
|
+
* @param t - The interpolation amount in `[0,1]`.
|
|
438
|
+
* @returns The interpolated value.
|
|
421
439
|
*/
|
|
422
|
-
|
|
440
|
+
lerp(dq: DualQuaternionLike, t: number): DualQuaternion;
|
|
423
441
|
/**
|
|
424
|
-
*
|
|
425
|
-
* @param
|
|
426
|
-
* @returns The
|
|
442
|
+
* Multiply this dual quaternion by another one.
|
|
443
|
+
* @param dq - The other dual quaternion.
|
|
444
|
+
* @returns The product.
|
|
427
445
|
*/
|
|
428
|
-
|
|
446
|
+
multiply(dq: DualQuaternionLike): DualQuaternion;
|
|
447
|
+
/**
|
|
448
|
+
* Normalize this dual quaternion.
|
|
449
|
+
* @returns The normalized dual quaternion.
|
|
450
|
+
*/
|
|
451
|
+
normalize(): DualQuaternion;
|
|
452
|
+
/**
|
|
453
|
+
* Rotate this dual quaternion around an axis.
|
|
454
|
+
* @param axis - The axis.
|
|
455
|
+
* @param r - The angle of the rotation in radians.
|
|
456
|
+
* @returns A normalized dual quaternion.
|
|
457
|
+
*/
|
|
458
|
+
rotateAroundAxis(axis: Vector3Like, r: number): DualQuaternion;
|
|
429
459
|
/**
|
|
430
460
|
* Rotate this dual quaternion by a quaternion (using the quaternion as the multiplicand).
|
|
431
461
|
* @param q - The quaternion.
|
|
@@ -441,24 +471,23 @@ export default class DualQuaternion extends Float32Array implements DualQuaterni
|
|
|
441
471
|
*/
|
|
442
472
|
rotateByQuaternionPrepend(q: QuaternionLike): DualQuaternion;
|
|
443
473
|
/**
|
|
444
|
-
* Rotate this dual quaternion around
|
|
445
|
-
* @param
|
|
446
|
-
* @
|
|
447
|
-
* @returns A normalized dual quaternion.
|
|
474
|
+
* Rotate this dual quaternion around the X-axis.
|
|
475
|
+
* @param r - The angle to rotate by in radians.
|
|
476
|
+
* @returns The rotated dual quaternion.
|
|
448
477
|
*/
|
|
449
|
-
|
|
478
|
+
rotateX(r: number): DualQuaternion;
|
|
450
479
|
/**
|
|
451
|
-
*
|
|
452
|
-
* @param
|
|
453
|
-
* @returns The
|
|
480
|
+
* Rotate this dual quaternion around the Y-axis.
|
|
481
|
+
* @param r - The angle to rotate by in radians.
|
|
482
|
+
* @returns The rotated dual quaternion.
|
|
454
483
|
*/
|
|
455
|
-
|
|
484
|
+
rotateY(r: number): DualQuaternion;
|
|
456
485
|
/**
|
|
457
|
-
*
|
|
458
|
-
* @param
|
|
459
|
-
* @returns The
|
|
486
|
+
* Rotate this dual quaternion around the Z-axis.
|
|
487
|
+
* @param r - The angle to rotate by in radians.
|
|
488
|
+
* @returns The rotated dual quaternion.
|
|
460
489
|
*/
|
|
461
|
-
|
|
490
|
+
rotateZ(r: number): DualQuaternion;
|
|
462
491
|
/**
|
|
463
492
|
* Multiply this dual quaternion by a scalar.
|
|
464
493
|
* @param s - The scalar.
|
|
@@ -466,49 +495,20 @@ export default class DualQuaternion extends Float32Array implements DualQuaterni
|
|
|
466
495
|
*/
|
|
467
496
|
scale(s: number): DualQuaternion;
|
|
468
497
|
/**
|
|
469
|
-
*
|
|
470
|
-
* @param
|
|
471
|
-
* @returns The dot product.
|
|
472
|
-
* @see {@link https://en.wikipedia.org/wiki/Dot_product | Dot product}
|
|
473
|
-
*/
|
|
474
|
-
dot(dq: DualQuaternionLike): number;
|
|
475
|
-
/**
|
|
476
|
-
* Perform a linear interpolation between this and another dual quaternion.
|
|
477
|
-
* @param dq - The other dual quaternion.
|
|
478
|
-
* @param t - The interpolation amount in `[0,1]`.
|
|
479
|
-
* @returns The interpolated value.
|
|
480
|
-
*/
|
|
481
|
-
lerp(dq: DualQuaternionLike, t: number): DualQuaternion;
|
|
482
|
-
/**
|
|
483
|
-
* Calculate the inverse of this dual quaternion. If this dual quaternion is normalized, the conjugate is equivalent and faster to calculate.
|
|
484
|
-
* @returns The inverse.
|
|
485
|
-
*/
|
|
486
|
-
invert(): DualQuaternion;
|
|
487
|
-
/**
|
|
488
|
-
* Calculate the conjugate of this dual quaternion. If this dual quaternion is normalized, this is equivalent to its inverse and faster to calculate.
|
|
489
|
-
* @returns The conjugate.
|
|
490
|
-
*/
|
|
491
|
-
conjugate(): DualQuaternion;
|
|
492
|
-
/** Get the magnitude (length) of this dual quaternion. */
|
|
493
|
-
get magnitude(): number;
|
|
494
|
-
/** Get the squared magnitude (length) of this dual quaternion. */
|
|
495
|
-
get squaredMagnitude(): number;
|
|
496
|
-
/**
|
|
497
|
-
* Normalize this dual quaternion.
|
|
498
|
-
* @returns The normalized dual quaternion.
|
|
498
|
+
* Set the real part of this dual quaternion.
|
|
499
|
+
* @param q - The quaternion.
|
|
499
500
|
*/
|
|
500
|
-
|
|
501
|
+
setDual(q: QuaternionLike): void;
|
|
501
502
|
/**
|
|
502
|
-
*
|
|
503
|
-
* @param
|
|
504
|
-
* @returns Whether or not the dual quaternions are equivalent.
|
|
503
|
+
* Set the real part of this dual quaternion.
|
|
504
|
+
* @param q - The quaternion.
|
|
505
505
|
*/
|
|
506
|
-
|
|
506
|
+
setReal(q: QuaternionLike): void;
|
|
507
507
|
/**
|
|
508
|
-
*
|
|
509
|
-
* @param
|
|
510
|
-
* @returns
|
|
508
|
+
* Translate this dual quaternion by the given vector.
|
|
509
|
+
* @param v - The vector.
|
|
510
|
+
* @returns The translated dual quaternion.
|
|
511
511
|
*/
|
|
512
|
-
|
|
512
|
+
translate(v: Vector3Like): DualQuaternion;
|
|
513
513
|
}
|
|
514
514
|
//# sourceMappingURL=DualQuaternion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DualQuaternion.d.ts","sourceRoot":"","sources":["../../src/linalg/DualQuaternion.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DualQuaternion.d.ts","sourceRoot":"","sources":["../../src/linalg/DualQuaternion.ts"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,WAAW,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,UAAU,EAAE,EAClB,KAAK,cAAc,EAInB,MAAM,iBAAiB,CAAC;AACzB,OAAO,OAAO,EAAE,EAGf,KAAK,WAAW,EAChB,MAAM,cAAc,CAAC;AAStB;;;GAGG;AACH,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IACjE,wDAAwD;IAExD,CAAC,EAAE,MAAM,CAAC;IAEV,yDAAyD;IAEzD,CAAC,EAAE,MAAM,CAAC;IAEV,wDAAwD;IAExD,CAAC,EAAE,MAAM,CAAC;IAEV,yDAAyD;IAEzD,CAAC,EAAE,MAAM,CAAC;IAEV,wDAAwD;IAExD,CAAC,EAAE,MAAM,CAAC;IAEV,yDAAyD;IAEzD,CAAC,EAAE,MAAM,CAAC;IAEV,wDAAwD;IAExD,CAAC,EAAE,MAAM,CAAC;IAEV,yDAAyD;IAEzD,CAAC,EAAE,MAAM,CAAC;CACV;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,QAAO,kBAAkB,GAAG,YAER,CAAC;AAE1D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,kBAAkB,EACtD,IAAI,MAAM,EACV,IAAI,MAAM,EACV,IAAI,MAAM,EACV,IAAI,MAAM,EACV,IAAI,MAAM,EACV,IAAI,MAAM,EACV,IAAI,MAAM,EACV,IAAI,MAAM,EACV,KAAK,CAAC,KACJ,CAUF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,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