浏览代码

missing doc

Jérôme Bousquié 5 年之前
父节点
当前提交
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[] {