未验证 提交 bfe473a8 编写于 作者: O Olof Rappestad 提交者: GitHub

fix Object3D.updateMatrixWorld definition

Judging by the implementation, the `force` parameter should be optional.
上级 efe122c3
...@@ -306,7 +306,7 @@ export class Object3D extends EventDispatcher { ...@@ -306,7 +306,7 @@ export class Object3D extends EventDispatcher {
/** /**
* Updates global transform of the object and its children. * Updates global transform of the object and its children.
*/ */
updateMatrixWorld(force: boolean): void; updateMatrixWorld(force?: boolean): void;
updateWorldMatrix(updateParents: boolean, updateChildren: boolean): void; updateWorldMatrix(updateParents: boolean, updateChildren: boolean): void;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册