浏览代码

Merge pull request #15781 from skymakerolof/patch-1

Fix Object3D.updateMatrixWorld definition
Mr.doob 6 年之前
父节点
当前提交
9e49e886d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/Object3D.d.ts

+ 1 - 1
src/core/Object3D.d.ts

@@ -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;