if (currentTime - releaseTime > 1000.0) {
if (currentTime - releaseTime > 1.0f) {
  public void update(float secondsPassed) {    secondsPassed *= getSpeed();    if (isActive()) {      currentTime += secondsPassed;      if (currentTime >= getMinTime() && currentTime <= getMaxTime()) {        Vector3f speed = new Vector3f();        if (controlFlow) {          if (currentTime - releaseTime > 1000.0) {            released = 0;            releaseTime = currentTime;          }          particlesToCreate = (int) ( (float) releaseRate * secondsPassed *                                     (1.0f +                                      releaseVariance *                                      (FastMath.nextRandomFloat() - 0.5f)));         if (particlesToCreate <= 0)           particlesToCreate = 1;         if (releaseRate - released <= 0)           particlesToCreate = 0;        }        int i = 0;        while (i < noParticles) {          if (particles[i].updateAndCheck(secondsPassed) &&              (!controlFlow || particlesToCreate > 0)) {            if (particles[i].status == RenParticle.DEAD &&                getRepeatType() == RT_CLAMP) {              ;            } else {              if (controlFlow) {                released++;                particlesToCreate--;              }              getRandomSpeed(speed);              particles[i].recreateParticle(speed, getRandomLifeSpan());              particles[i].status = RenParticle.ALIVE;              switch (getGeometry()) {                case 1:                  particles[i].initialLocation.set(getLine().random());                  break;                case 2:                  particles[i].initialLocation.set(getRectangle().random());                  break;                default:                  particles[i].initialLocation.set(originCenter);                  break;              }              particles[i].location.set(particles[i].initialLocation);              particles[i].updateVerts();            }          }          i++;        }        particlesGeometry.setVertices(geometryCoordinates);        particlesGeometry.setColors(appearanceColors);      }    }  }