currentP.getLocalTranslation().x = ps.getLine().random().x; currentP.getLocalTranslation().y = ps.getLine().random().y; currentP.getLocalTranslation().z = ps.getLine().random().z;
currentP.setLocalTranslation(ps.getLine().random());
	private void regenerateParticle() {		currentP.life = 1.0f;		currentP.fade = (float) (ps.getFade() * Math.random() + ps.getFade());		if (ps.useGeometry()) {			if (ps.getLine() != null) {				currentP.getLocalTranslation().x = ps.getLine().random().x;				currentP.getLocalTranslation().y = ps.getLine().random().y;				currentP.getLocalTranslation().z = ps.getLine().random().z;			}		} else {			currentP.getLocalTranslation().x = ps.getStartPosition().x;			currentP.getLocalTranslation().y = ps.getStartPosition().y;			currentP.getLocalTranslation().z = ps.getStartPosition().z;		}		currentP.color.r = ps.getStartColor().r;		currentP.color.g = ps.getStartColor().g;		currentP.color.b = ps.getStartColor().b;		currentP.color.a = ps.getStartColor().a;		currentP.size = ps.getStartSize();		currentP.velocity.x =			(float) (((Math.random() * 32767) % 50) - 26) * 10;		currentP.velocity.y =			(float) (((Math.random() * 32767) % 50) - 26) * 10;		currentP.velocity.z =			(float) (((Math.random() * 32767) % 50) - 26) * 10;	}