Explorar el Código

Update babylon.math.ts

David hace 9 años
padre
commit
4e1d7c5dcd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         }