mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
[types/three] Added missing definitions to three-core.d.ts
Added multiply, premultiply and multiplyMatrices to Matrix3 class on three-core.d.ts. These were already present on Matrix4, just copied over and adapted code.
This commit is contained in:
committed by
GitHub
parent
64ea75d1c8
commit
a204a9cb02
12
types/three/three-core.d.ts
vendored
12
types/three/three-core.d.ts
vendored
@@ -3625,6 +3625,18 @@ export class Matrix3 implements Matrix {
|
||||
transposeIntoArray(r: number[]): number[];
|
||||
fromArray(array: number[], offset?: number): Matrix3;
|
||||
toArray(): number[];
|
||||
|
||||
/**
|
||||
* Multiplies this matrix by m.
|
||||
*/
|
||||
multiply(m: Matrix3): Matrix3;
|
||||
|
||||
premultiply(m: Matrix3): Matrix3;
|
||||
|
||||
/**
|
||||
* Sets this matrix to a x b.
|
||||
*/
|
||||
multiplyMatrices(a: Matrix3, b: Matrix3): Matrix3;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
|
||||
Reference in New Issue
Block a user