Jérôme Bousquié 5 лет назад
Родитель
Сommit
c2d73f2b72
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/Particles/solidParticleSystem.ts

+ 2 - 2
src/Particles/solidParticleSystem.ts

@@ -635,8 +635,8 @@ export class SolidParticleSystem implements IDisposable {
      *  If the number of particles to remove is lower than zero or greater than the global remaining particle number, then an empty array is returned.
      *  The SPS can't be empty so at least one particle needs to remain in place.
      *  Under the hood, the VertexData array, so the VBO buffer, is recreated each call.
-     * @param start
-     * @param end
+     * @param start index of the first particle to remove
+     * @param end index of the last particle to remove (included)
      * @returns an array populated with the removed particles
      */
     public removeParticles(start: number, end: number): SolidParticle[] {