From de0ff17d66707472844c506d6692954853446251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BC=90=E6=9C=A8=E5=B7=A5=E4=BA=BA?= <314313534@qq.com> Date: Thu, 17 Jan 2019 18:17:43 +0800 Subject: [PATCH] Add the missing method updateWorldMatrix() to the Object3D of tree.js. --- types/three/three-core.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 25a0f2c07a..f76603ec67 100755 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -1837,6 +1837,8 @@ export class Object3D extends EventDispatcher { */ updateMatrixWorld(force: boolean): void; + updateWorldMatrix(updateParents: boolean, updateChildren: boolean): void; + toJSON(meta?: { geometries: any, materials: any, textures: any, images: any }): any; clone(recursive?: boolean): this;