Explorar o código

TS: Fix Matrix3.toArray: Add missing optional parameters

Johannes Deml %!s(int64=6) %!d(string=hai) anos
pai
achega
04fb92b0fc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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.