Browse Source

fix Object3D.updateMatrixWorld definition

Judging by the implementation, the `force` parameter should be optional.
Olof Rappestad 6 years ago
parent
commit
bfe473a81e
1 changed files with 1 additions and 1 deletions
  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;