未验证 提交 212421a5 编写于 作者: Y Yutaka Obuchi 提交者: GitHub

Matrix4.d.ts: Parameters of decompose is not optional

上级 7c1424c5
......@@ -171,13 +171,12 @@ export class Matrix4 implements Matrix {
compose( translation: Vector3, rotation: Quaternion, scale: Vector3 ): Matrix4;
/**
* Decomposes this matrix into the translation, rotation and scale components.
* If parameters are not passed, new instances will be created.
* Decomposes this matrix into it's position, quaternion and scale components.
*/
decompose(
translation?: Vector3,
rotation?: Quaternion,
scale?: Vector3
translation: Vector3,
rotation: Quaternion,
scale: Vector3
): Matrix4;
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册