Ver Fonte

TS: Fix Matrix3.toArray: Add missing optional parameters

Johannes Deml há 6 anos atrás
pai
commit
04fb92b0fc
1 ficheiros alterados com 2 adições e 1 exclusões
  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.