Przeglądaj źródła

Update babylon.math.ts

David 9 lat temu
rodzic
commit
4e1d7c5dcd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Math/babylon.math.ts

+ 1 - 1
src/Math/babylon.math.ts

@@ -1610,7 +1610,7 @@
         public toEulerAngles(order = "YZX"): Vector3 {
             var result = Vector3.Zero();
 
-            this.toEulerAnglesToRef(result);
+            this.toEulerAnglesToRef(result, order);
 
             return result;
         }