diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-06-20 21:49:11 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-06-20 21:49:11 -0400 |
commit | bdefee178b656a8f1ab83732f0e6461ad2d2ff50 (patch) | |
tree | 94b464c0f1d6e1e55e24775d2abe94bb53557f1d /tests/math | |
parent | b3c577c1d8ae32d93fe7cf3986a2a81a011b1db3 (diff) |
render: particles: Allow finer control over particle emission.
* sly/render/particles.scm (<particle-system>)[emit-rate]: Delete.
[emit-interval, emit-count]: New fields.
(make-particle-system): Delete emit-rate argument. Add emit-interval and
emit-count arguments.
(render-particles): Rewrite to use emit-rate and emit-count.
* examples/particles.scm: Update example to use new API.
Diffstat (limited to 'tests/math')
0 files changed, 0 insertions, 0 deletions