Searched refs:lastUsed (Results 1 – 2 of 2) sorted by relevance
51 int lastUsed=0; field in ChunkedIntArray87 int newoffset = (lastUsed+1)*slotsize; in appendSlot()100 return ++lastUsed; in appendSlot()171 return lastUsed; in slotsUsed()181 --lastUsed; in discardLast()
86 private int lastUsed; field in ParticleEmitter341 return lastUsed + 1; in getNumVisibleParticles()361 lastUsed = -1; in setNumParticles()826 int idx = lastUsed + 1; in emitParticle()859 ++lastUsed; in emitParticle()928 if (idx == lastUsed) { in freeParticle()929 while (lastUsed >= 0 && particles[lastUsed].life == 0) { in freeParticle()930 lastUsed--; in freeParticle()995 if (i == lastUsed) { in updateParticleState()996 lastUsed = firstUnUsed; in updateParticleState()[all …]