Browse Source

Merge pull request #17108 from Mugen87/dev31

TS: Add missing methods to Matrix3.
Mr.doob 6 years ago
parent
commit
453204b308
1 changed files with 11 additions and 0 deletions
  1. 11 0
      src/math/Matrix3.d.ts

+ 11 - 0
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[];