David Catuhe 7 tahun lalu
induk
melakukan
c8a593edf1

File diff ditekan karena terlalu besar
+ 3146 - 3146
Playground/babylon.d.txt


File diff ditekan karena terlalu besar
+ 1 - 1
Viewer/dist/viewer.js


File diff ditekan karena terlalu besar
+ 1 - 1
Viewer/dist/viewer.min.js


File diff ditekan karena terlalu besar
+ 3344 - 3344
dist/preview release/babylon.d.ts


File diff ditekan karena terlalu besar
+ 1 - 1
dist/preview release/babylon.js


+ 1 - 1
dist/preview release/babylon.max.js

@@ -16076,7 +16076,7 @@ var BABYLON;
                 wm.invertToRef(tmat);
                 point = BABYLON.Vector3.TransformCoordinates(point, tmat);
             }
-            return this.setPivotMatrix(BABYLON.Matrix.Translation(point.x, point.y, point.z), true);
+            return this.setPivotMatrix(BABYLON.Matrix.Translation(-point.x, -point.y, -point.z), true);
         };
         /**
          * Returns a new Vector3 set with the mesh pivot point coordinates in the local space.

File diff ditekan karena terlalu besar
+ 1 - 1
dist/preview release/babylon.worker.js


File diff ditekan karena terlalu besar
+ 6523 - 6523
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


File diff ditekan karena terlalu besar
+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

@@ -16076,7 +16076,7 @@ var BABYLON;
                 wm.invertToRef(tmat);
                 point = BABYLON.Vector3.TransformCoordinates(point, tmat);
             }
-            return this.setPivotMatrix(BABYLON.Matrix.Translation(point.x, point.y, point.z), true);
+            return this.setPivotMatrix(BABYLON.Matrix.Translation(-point.x, -point.y, -point.z), true);
         };
         /**
          * Returns a new Vector3 set with the mesh pivot point coordinates in the local space.

+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/es6.js

@@ -16062,7 +16062,7 @@ var BABYLON;
                 wm.invertToRef(tmat);
                 point = BABYLON.Vector3.TransformCoordinates(point, tmat);
             }
-            return this.setPivotMatrix(BABYLON.Matrix.Translation(point.x, point.y, point.z), true);
+            return this.setPivotMatrix(BABYLON.Matrix.Translation(-point.x, -point.y, -point.z), true);
         };
         /**
          * Returns a new Vector3 set with the mesh pivot point coordinates in the local space.

+ 1 - 1
dist/preview release/es6.js

@@ -16062,7 +16062,7 @@ var BABYLON;
                 wm.invertToRef(tmat);
                 point = BABYLON.Vector3.TransformCoordinates(point, tmat);
             }
-            return this.setPivotMatrix(BABYLON.Matrix.Translation(point.x, point.y, point.z), true);
+            return this.setPivotMatrix(BABYLON.Matrix.Translation(-point.x, -point.y, -point.z), true);
         };
         /**
          * Returns a new Vector3 set with the mesh pivot point coordinates in the local space.

File diff ditekan karena terlalu besar
+ 1 - 1
dist/preview release/viewer/babylon.viewer.js


+ 1 - 1
src/Mesh/babylon.transformNode.ts

@@ -425,7 +425,7 @@ module BABYLON {
                 point = Vector3.TransformCoordinates(point, tmat);
             }
 
-            return this.setPivotMatrix(Matrix.Translation(point.x, point.y, point.z), true);
+            return this.setPivotMatrix(Matrix.Translation(-point.x, -point.y, -point.z), true);
         }
 
         /**