particle: all particles now take margin arguments

Ramp and map however, doesn't allow any values other than 0 (yet).
This commit is contained in:
Daniel Eklöf 2018-12-29 20:33:38 +01:00
parent bd251cbf9f
commit 3135f1d36d
5 changed files with 56 additions and 52 deletions

View file

@ -8,4 +8,4 @@ struct particle_map {
struct particle *particle_map_new(
const char *tag, const struct particle_map *particle_map, size_t count,
struct particle *default_particle);
struct particle *default_particle, int left_margin, int right_margin);