Searched refs:numParticles (Results 1 – 4 of 4) sorted by relevance
58 public void initParticleData(ParticleEmitter emitter, int numParticles) { in initParticleData() argument64 FloatBuffer pb = BufferUtils.createVector3Buffer(numParticles); in initParticleData()77 ByteBuffer cb = BufferUtils.createByteBuffer(numParticles * 4); in initParticleData()90 FloatBuffer sb = BufferUtils.createFloatBuffer(numParticles); in initParticleData()102 FloatBuffer tb = BufferUtils.createFloatBuffer(numParticles*4); in initParticleData()
58 public void initParticleData(ParticleEmitter emitter, int numParticles) { in initParticleData() argument63 particlesCopy = new Particle[numParticles]; in initParticleData()66 FloatBuffer pb = BufferUtils.createVector3Buffer(numParticles * 4); in initParticleData()79 ByteBuffer cb = BufferUtils.createByteBuffer(numParticles * 4 * 4); in initParticleData()93 FloatBuffer tb = BufferUtils.createVector2Buffer(numParticles * 4); in initParticleData()96 for (int i = 0; i < numParticles; i++){ in initParticleData()113 ShortBuffer ib = BufferUtils.createShortBuffer(numParticles * 6); in initParticleData()114 for (int i = 0; i < numParticles; i++){ in initParticleData()
195 public ParticleEmitter(String name, Type type, int numParticles) { in ParticleEmitter() argument229 this.setNumParticles(numParticles); in ParticleEmitter()352 public final void setNumParticles(int numParticles) { in setNumParticles() argument353 particles = new Particle[numParticles]; in setNumParticles()354 for (int i = 0; i < numParticles; i++) { in setNumParticles()1135 int numParticles = ic.readInt("numParticles", 0); in read() local1170 this.setNumParticles(numParticles); in read()
72 public abstract void initParticleData(ParticleEmitter emitter, int numParticles); in initParticleData() argument