Selaa lähdekoodia

just call getWorldMatrix in camera.computeWorldMatrix

Adam Bowman 7 vuotta sitten
vanhempi
commit
6f5cb194cd
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      src/Cameras/babylon.camera.ts

+ 1 - 2
src/Cameras/babylon.camera.ts

@@ -907,8 +907,7 @@
             }
         }
 
-        public computeWorldMatrix(force?: boolean): Matrix {
-            this.getViewMatrix(force);
+        public computeWorldMatrix(): Matrix {
             return this.getWorldMatrix();
         }