浏览代码

Merge pull request #18394 from OndrejSpanel/fixDTSDecompose

TS: Matrix4.decompose returns the original matrix
Michael Herzog 5 年之前
父节点
当前提交
09c7ae435b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/math/Matrix4.d.ts

+ 1 - 1
src/math/Matrix4.d.ts

@@ -178,7 +178,7 @@ export class Matrix4 implements Matrix {
 		translation?: Vector3,
 		rotation?: Quaternion,
 		scale?: Vector3
-	): Object[]; // [Vector3, Quaternion, Vector3]
+	): Matrix4;
 
 	/**
 	 * Creates a frustum matrix.