diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_particle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_particle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h index e9b4c2b5a66..857ed607dd8 100644 --- a/source/blender/blenkernel/BKE_particle.h +++ b/source/blender/blenkernel/BKE_particle.h @@ -28,6 +28,7 @@ */ #include "BLI_utildefines.h" +#include "BLI_buffer.h" #include "DNA_particle_types.h" #include "DNA_object_types.h" @@ -108,6 +109,9 @@ typedef struct SPHData { float element_size; float flow[3]; + /* Temporary thread-local buffer for springs created during this step. */ + BLI_Buffer new_springs; + /* Integrator callbacks. This allows different SPH implementations. */ void (*force_cb)(void *sphdata_v, ParticleKey *state, float *force, float *impulse); void (*density_cb)(void *rangedata_v, int index, const float co[3], float squared_dist); |