From b90181ac5695aa0fcbe5a743830db133d0c35e0b Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Fri, 26 Jul 2019 19:41:01 +0200 Subject: [PATCH] TS: Add missig methods to Matrix3. --- src/math/Matrix3.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/math/Matrix3.d.ts b/src/math/Matrix3.d.ts index ba6fa9a3a4..eb945df881 100644 --- a/src/math/Matrix3.d.ts +++ b/src/math/Matrix3.d.ts @@ -100,6 +100,17 @@ export class Matrix3 implements Matrix { * Transposes this matrix into the supplied array r, and returns itself. */ transposeIntoArray( r: number[] ): number[]; + + setUvTransform( tx: number, ty: number, sx: number, sy: number, rotation: number, cx: number, cy: number ): Matrix3; + + scale( sx: number, sy: number ): Matrix3; + + rotate( theta: number ): Matrix3; + + translate( tx: number, ty: number ): Matrix3; + + equals( matrix: Matrix3 ): boolean; + fromArray( array: number[], offset?: number ): Matrix3; toArray( array?: number[], offset?: number ): number[]; -- GitLab