HomeSort by relevance Sort by last modified time
    Searched refs:numParticles (Results 1 - 4 of 4) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/effect/
ParticleMesh.java 70 * @param numParticles The maxmimum number of particles to simulate
72 public abstract void initParticleData(ParticleEmitter emitter, int numParticles);
ParticlePointMesh.java 58 public void initParticleData(ParticleEmitter emitter, int numParticles) {
64 FloatBuffer pb = BufferUtils.createVector3Buffer(numParticles);
77 ByteBuffer cb = BufferUtils.createByteBuffer(numParticles * 4);
90 FloatBuffer sb = BufferUtils.createFloatBuffer(numParticles);
102 FloatBuffer tb = BufferUtils.createFloatBuffer(numParticles*4);
ParticleTriMesh.java 58 public void initParticleData(ParticleEmitter emitter, int numParticles) {
63 particlesCopy = new Particle[numParticles];
66 FloatBuffer pb = BufferUtils.createVector3Buffer(numParticles * 4);
79 ByteBuffer cb = BufferUtils.createByteBuffer(numParticles * 4 * 4);
93 FloatBuffer tb = BufferUtils.createVector2Buffer(numParticles * 4);
96 for (int i = 0; i < numParticles; i++){
113 ShortBuffer ib = BufferUtils.createShortBuffer(numParticles * 6);
114 for (int i = 0; i < numParticles; i++){
ParticleEmitter.java 195 public ParticleEmitter(String name, Type type, int numParticles) {
229 this.setNumParticles(numParticles);
349 * @param numParticles the maximum amount of particles that
352 public final void setNumParticles(int numParticles) {
353 particles = new Particle[numParticles];
354 for (int i = 0; i < numParticles; i++) {
373 * The size of the array is set to the <code>numParticles</code> value
    [all...]

Completed in 126 milliseconds