David Catuhe 7 gadi atpakaļ
vecāks
revīzija
81bcc19405

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 12279 - 12267
Playground/babylon.d.txt


+ 0 - 2
Tools/Gulp/config.json

@@ -110,8 +110,6 @@
             "meshBuilder",
             "freeCamera",
             "hemisphericLight"
-        ],
-        "distributed": [
         ]
     },
     "workloads": {

+ 1 - 16
Tools/Gulp/gulpfile.js

@@ -532,21 +532,6 @@ gulp.task("typescript-libraries", config.modules, function () {
 });
 
 /**
- * Dynamic custom configurations.
- */
-config.buildConfigurations.distributed.map(function (customConfiguration) {
-    gulp.task(customConfiguration, function (cb) {
-        config.build.currentConfig = customConfiguration;
-        config.build.outputDirectory = config.build.outputCustomConfigurationsDirectory + "/" + customConfiguration;
-        runSequence("typescript-compile", "build", cb);
-    });
-});
-
-gulp.task("typescript-customConfigurations", function (cb) {
-    runSequence(config.buildConfigurations.distributed, cb);
-});
-
-/**
  * Custom build with full path file control; used by profile.html
  */
 gulp.task("build-custom", function (cb) {
@@ -557,7 +542,7 @@ gulp.task("build-custom", function (cb) {
  * Do it all.
  */
 gulp.task("typescript-all", function (cb) {
-    runSequence("typescript", "typescript-libraries", "typescript-customConfigurations", cb);
+    runSequence("typescript", "typescript-libraries", cb);
 });
 
 /**

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 11842 - 11825
dist/preview release/babylon.d.ts


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 26 - 26
dist/preview release/babylon.js


+ 35 - 0
dist/preview release/babylon.max.js

@@ -16599,6 +16599,11 @@ var BABYLON;
             if (scene === void 0) { scene = null; }
             if (isPure === void 0) { isPure = true; }
             var _this = _super.call(this, name, scene) || this;
+            _this._forward = new BABYLON.Vector3(0, 0, 1);
+            _this._forwardInverted = new BABYLON.Vector3(0, 0, -1);
+            _this._up = new BABYLON.Vector3(0, 1, 0);
+            _this._right = new BABYLON.Vector3(1, 0, 0);
+            _this._rightInverted = new BABYLON.Vector3(-1, 0, 0);
             // Properties
             _this._rotation = BABYLON.Vector3.Zero();
             _this._scaling = BABYLON.Vector3.One();
@@ -16684,6 +16689,36 @@ var BABYLON;
             enumerable: true,
             configurable: true
         });
+        Object.defineProperty(TransformNode.prototype, "forward", {
+            /**
+             * The forward direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this.getScene().useRightHandedSystem ? this._forwardInverted : this._forward, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
+        Object.defineProperty(TransformNode.prototype, "up", {
+            /**
+             * The up direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this._up, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
+        Object.defineProperty(TransformNode.prototype, "right", {
+            /**
+             * The right direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this.getScene().useRightHandedSystem ? this._rightInverted : this._right, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
         /**
          * Returns the latest update of the World matrix
          * Returns a Matrix.

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 26 - 26
dist/preview release/babylon.worker.js


+ 35 - 0
dist/preview release/es6.js

@@ -16571,6 +16571,11 @@ var BABYLON;
             if (scene === void 0) { scene = null; }
             if (isPure === void 0) { isPure = true; }
             var _this = _super.call(this, name, scene) || this;
+            _this._forward = new BABYLON.Vector3(0, 0, 1);
+            _this._forwardInverted = new BABYLON.Vector3(0, 0, -1);
+            _this._up = new BABYLON.Vector3(0, 1, 0);
+            _this._right = new BABYLON.Vector3(1, 0, 0);
+            _this._rightInverted = new BABYLON.Vector3(-1, 0, 0);
             // Properties
             _this._rotation = BABYLON.Vector3.Zero();
             _this._scaling = BABYLON.Vector3.One();
@@ -16656,6 +16661,36 @@ var BABYLON;
             enumerable: true,
             configurable: true
         });
+        Object.defineProperty(TransformNode.prototype, "forward", {
+            /**
+             * The forward direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this.getScene().useRightHandedSystem ? this._forwardInverted : this._forward, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
+        Object.defineProperty(TransformNode.prototype, "up", {
+            /**
+             * The up direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this._up, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
+        Object.defineProperty(TransformNode.prototype, "right", {
+            /**
+             * The right direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this.getScene().useRightHandedSystem ? this._rightInverted : this._right, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
         /**
          * Returns the latest update of the World matrix
          * Returns a Matrix.

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 42 - 42
dist/preview release/viewer/babylon.viewer.js


+ 35 - 0
dist/preview release/viewer/babylon.viewer.max.js

@@ -16687,6 +16687,11 @@ var BABYLON;
             if (scene === void 0) { scene = null; }
             if (isPure === void 0) { isPure = true; }
             var _this = _super.call(this, name, scene) || this;
+            _this._forward = new BABYLON.Vector3(0, 0, 1);
+            _this._forwardInverted = new BABYLON.Vector3(0, 0, -1);
+            _this._up = new BABYLON.Vector3(0, 1, 0);
+            _this._right = new BABYLON.Vector3(1, 0, 0);
+            _this._rightInverted = new BABYLON.Vector3(-1, 0, 0);
             // Properties
             _this._rotation = BABYLON.Vector3.Zero();
             _this._scaling = BABYLON.Vector3.One();
@@ -16772,6 +16777,36 @@ var BABYLON;
             enumerable: true,
             configurable: true
         });
+        Object.defineProperty(TransformNode.prototype, "forward", {
+            /**
+             * The forward direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this.getScene().useRightHandedSystem ? this._forwardInverted : this._forward, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
+        Object.defineProperty(TransformNode.prototype, "up", {
+            /**
+             * The up direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this._up, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
+        Object.defineProperty(TransformNode.prototype, "right", {
+            /**
+             * The right direction of that transform in world space.
+             */
+            get: function () {
+                return BABYLON.Vector3.Normalize(BABYLON.Vector3.TransformNormal(this.getScene().useRightHandedSystem ? this._rightInverted : this._right, this.getWorldMatrix()));
+            },
+            enumerable: true,
+            configurable: true
+        });
         /**
          * Returns the latest update of the World matrix
          * Returns a Matrix.