瀏覽代碼

TS: Fix Matrix3.toArray: Add missing optional parameters

Johannes Deml 6 年之前
父節點
當前提交
04fb92b0fc
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/math/Matrix3.d.ts

+ 2 - 1
src/math/Matrix3.d.ts

@@ -101,7 +101,8 @@ export class Matrix3 implements Matrix {
 	 */
 	transposeIntoArray( r: number[] ): number[];
 	fromArray( array: number[], offset?: number ): Matrix3;
-	toArray(): number[];
+
+	toArray( array?: number[], offset?: number ): number[];
 
 	/**
 	 * Multiplies this matrix by m.