소스 검색

rename resetParticle() to rebuildParticle()

jbousquie 9 년 전
부모
커밋
53f987abbb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Particles/babylon.solidParticleSystem.ts

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

@@ -239,8 +239,8 @@ module BABYLON {
             return this._shapeCounter;
         }
 
-        // resets a particle back to its just built status : if needed, recomputes the custom positions and vertices
-        public resetParticle(particle: SolidParticle): void {
+        // rebuilds a particle back to its just built status : if needed, recomputes the custom positions and vertices
+        public rebuildParticle(particle: SolidParticle): void {
             this._resetCopy();
             if (particle._model._positionFunction) {        // recall to stored custom positionFunction
                 particle._model._positionFunction(this._copy, particle.idx, particle.idxInShape);