소스 검색

fix Object3D.updateMatrixWorld definition

Judging by the implementation, the `force` parameter should be optional.
Olof Rappestad 6 년 전
부모
커밋
bfe473a81e
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.
    */
-  updateMatrixWorld(force: boolean): void;
+  updateMatrixWorld(force?: boolean): void;
 
   updateWorldMatrix(updateParents: boolean, updateChildren: boolean): void;