From a204a9cb02b5b054f9f870cbe51090292ec4445c Mon Sep 17 00:00:00 2001 From: Marcos Seefelder de Assis Araujo Date: Tue, 3 Oct 2017 14:52:07 -0300 Subject: [PATCH] [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. --- types/three/three-core.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index c2ef59d406..3efd8afad2 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -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