Przeglądaj źródła

Updating method name and creating a package

DESKTOP-QJU4N0L\mityh 8 lat temu
rodzic
commit
783a0864ce

Plik diff jest za duży
+ 1103 - 1064
dist/preview release/babylon.d.ts


Plik diff jest za duży
+ 40 - 40
dist/preview release/babylon.js


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

@@ -40906,7 +40906,7 @@ var BABYLON;
                     else {
                         this.cellIndex = this._toIndex;
                         if (this.disposeWhenFinishedAnimating) {
-                            this.dispose();
+                            this.ReadyForRecycling();
                         }
                     }
                 }
@@ -40936,7 +40936,7 @@ var BABYLON;
             other._time = this._time;
             other.disposeWhenFinishedAnimating = this.disposeWhenFinishedAnimating;
         };
-        Particle.prototype.dispose = function () {
+        Particle.prototype.ReadyForRecycling = function () {
             this.age = this.lifeTime;
         };
         return Particle;

Plik diff jest za duży
+ 1103 - 1064
dist/preview release/babylon.module.d.ts


Plik diff jest za duży
+ 43 - 43
dist/preview release/babylon.worker.js


+ 2 - 2
src/Particles/babylon.particle.ts

@@ -26,7 +26,7 @@
                     else {
                         this.cellIndex = this._toIndex;
                         if (this.disposeWhenFinishedAnimating) {
-                            this.dispose();
+                            this.ReadyForRecycling();
                         }
                     }
                 }
@@ -58,7 +58,7 @@
             other.disposeWhenFinishedAnimating = this.disposeWhenFinishedAnimating;
         }
 
-        public dispose() {
+        public ReadyForRecycling() {
             this.age = this.lifeTime;
         }
     }