Преглед на файлове

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;