Forráskód Böngészése

New Engine.Version property
Introducing debug version: uglification is disabled on this one

David Catuhe 11 éve
szülő
commit
28b5802df5

+ 8 - 0
Babylon/babylon.engine.js

@@ -283,6 +283,14 @@
             configurable: true
         });
 
+        Object.defineProperty(Engine, "Version", {
+            get: function () {
+                return "1.13.0";
+            },
+            enumerable: true,
+            configurable: true
+        });
+
         Engine.prototype.getAspectRatio = function (camera) {
             var viewport = camera.viewport;
             return (this.getRenderWidth() * viewport.width) / (this.getRenderHeight() * viewport.height);

+ 4 - 0
Babylon/babylon.engine.ts

@@ -164,6 +164,10 @@
             return Engine._DELAYLOADSTATE_NOTLOADED;
         }
 
+        public static get Version(): string {
+            return "1.13.0";
+        }
+
         // Updatable statics so stick with vars here
         public static Epsilon = 0.001;
         public static CollisionsEpsilon = 0.001;

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 28 - 0
babylon.1.13-beta-debug.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 15 - 0
babylon.1.13-beta.js