提交 b90181ac 编写于 作者: M Mugen87

TS: Add missig methods to Matrix3.

上级 978a5605
...@@ -100,6 +100,17 @@ export class Matrix3 implements Matrix { ...@@ -100,6 +100,17 @@ export class Matrix3 implements Matrix {
* Transposes this matrix into the supplied array r, and returns itself. * Transposes this matrix into the supplied array r, and returns itself.
*/ */
transposeIntoArray( r: number[] ): number[]; 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; fromArray( array: number[], offset?: number ): Matrix3;
toArray( array?: number[], offset?: number ): number[]; toArray( array?: number[], offset?: number ): number[];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册