New particle system

yay
The old emitters are used in dungeon fury and swooop. Maybe others are
using them too

On Thu, Sep 25, 2014 at 1:49 PM, moka <notifications@github.com> wrote:

> In src/scene/scene_particleemitter2.js:
>
> > +
> > +            if (this.oneShot) {
> > +                if (this.onFinished != undefined) {
> > +                    if (Date.now() > this.endTime) {
> > +                        this.onFinished();
> > +                    }
> > +                }
> > +            }
> > +
> > +            device.setDepthTest(true);
> > +            device.setDepthWrite(true);
> > +        }
> > +    };
> > +
> > +    return {
> > +        ParticleEmitter2: ParticleEmitter2,
>
> Do we want to call it ParticleEmitter rather ParticleEmitter2?
> As previous one was not exposed to public anyway, so we definitely should
> ignore its existence.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/playcanvas/engine/pull/42/files#r18025250>.
>