New particle interface and underlying logic:
- reset() resets particle state, doesn't affect playing;
- stop() disables the emission of new particles;
- play() continues the emission, also unpauses;
- pause() freezes the emitter;
- isPlaying() tells if emission is in progress;
- "oneShot" parameter replaced with "loop" (same, but inversed);
- non-looped emitters do not start emission unless play() is called;

simple and sparks examples are updated.

Fixed CPU stretching.
Fixed WebGL warning spamming by disallowing particles being rendered into depth map. Added meshInstance.drawToDepth boolean to control it.
[FIX] Respect material face culling when rendering into shadow maps.
[FIX] Camera component now correctly sets the alpha value for the clear color.
Merge pull request #108 from guycalledfrank/particles-interface-stuff

Particles interface and stuff
[FIX] Fixed RigidbodyComponent#teleport() second vector argument
Merge branch 'master' of github.com:playcanvas/engine
[RELEASE] v0.162.2
[VERSION] v0.163.0-dev
Merge
respect ambient oclussion map for specular
Merge pull request #111 from playcanvas/ao-specular

respect ambient oclussion map for specular
[RELEASE] v0.162.3
[VERSION] v0.163.0-dev
Added autoPlay property to particles, Particles no longer disable themselves when pausing / stopping or when non looped
Merge pull request #112 from playcanvas/feature/particles-autoplay

Added autoPlay property to particles, Particles no longer disable themse...
Always return false in isPlaying if the system is paused
[RELEASE] v0.162.4
[VERSION] v0.163.0-dev
Merge pull request #31 from playcanvas/master

merge