[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:
Marcos Seefelder de Assis Araujo
2017-10-03 14:52:07 -03:00
committed by GitHub
parent 64ea75d1c8
commit a204a9cb02

View File

@@ -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