diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-19 14:58:49 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-19 14:58:58 +0300 |
commit | 5063820c9b7fdc499c0aa16ca850541101ffda09 (patch) | |
tree | 45541e8148069cabdadfd9ac4dc00558498e73c0 /source/blender/makesdna | |
parent | 8c90910dcc3ac56ecaa3f0d0ed1a43a423ff687f (diff) |
Particles: Emit particles over time
This adds a basic internal emitter for every particle simulation.
The emitter cannot be controlled by the user yet. That will
come next.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_simulation_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_simulation_types.h b/source/blender/makesdna/DNA_simulation_types.h index a2b81b731d3..c4ff51a107e 100644 --- a/source/blender/makesdna/DNA_simulation_types.h +++ b/source/blender/makesdna/DNA_simulation_types.h @@ -32,6 +32,8 @@ typedef struct Simulation { int flag; float current_frame; + float current_simulation_time; + char _pad[4]; /** List containing SimulationState objects. */ struct ListBase states; @@ -53,7 +55,7 @@ typedef struct ParticleSimulationState { /** Contains the state of the particles at time Simulation->current_frame. */ int tot_particles; - int _pad; + int next_particle_id; struct CustomData attributes; /** Caches the state of the particles over time. The cache only exists on the original data |