Update ParticleEmitter.java

allow easy manipulation of particleemmite via subclasses
fix-456
empirephoenix 8 years ago committed by Rémy Bouquet
parent fac8266b5c
commit 50eaa34143
  1. 2
      jme3-core/src/main/java/com/jme3/effect/ParticleEmitter.java

@ -1016,7 +1016,7 @@ public class ParticleEmitter extends Geometry {
particles[idx2] = p1;
}
private void updateParticle(Particle p, float tpf, Vector3f min, Vector3f max){
protected void updateParticle(Particle p, float tpf, Vector3f min, Vector3f max){
// applying gravity
p.velocity.x -= gravity.x * tpf;
p.velocity.y -= gravity.y * tpf;

Loading…
Cancel
Save