提交 dfd921c2 编写于 作者: J Johannes Deml

TS: Fix toArray method: Add optional parameters array and offset

上级 d0e0fa39
...@@ -227,7 +227,8 @@ export class Matrix4 implements Matrix { ...@@ -227,7 +227,8 @@ export class Matrix4 implements Matrix {
): Matrix4; ): Matrix4;
equals( matrix: Matrix4 ): boolean; equals( matrix: Matrix4 ): boolean;
fromArray( array: number[], offset?: number ): Matrix4; fromArray( array: number[], offset?: number ): Matrix4;
toArray(): number[];
toArray( array?: number[], offset?: number ): number[];
/** /**
* @deprecated Use {@link Matrix4#copyPosition .copyPosition()} instead. * @deprecated Use {@link Matrix4#copyPosition .copyPosition()} instead.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册