diff options
author | Ray Molenkamp <github@lazydodo.com> | 2022-11-10 01:23:52 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2022-11-10 01:23:52 +0300 |
commit | 24bd098dbaf8d26511cb416badb8489d1fcfe00b (patch) | |
tree | 53e8f3f468da28fc80550db57d62afb16c6bb569 /source/blender/blenkernel/BKE_particle.h | |
parent | 32aebe8c55963d42a6b541e266e85cac25f96311 (diff) | |
parent | d49dec896aaae5e2cdb5f2e2926f3bd010f4a0fe (diff) |
Merge remote-tracking branch 'origin/master' into tmp-vfx-platform-2023
Diffstat (limited to 'source/blender/blenkernel/BKE_particle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_particle.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h index a797aef73f6..05b9aca7544 100644 --- a/source/blender/blenkernel/BKE_particle.h +++ b/source/blender/blenkernel/BKE_particle.h @@ -291,7 +291,11 @@ void psys_set_current_num(struct Object *ob, int index); /* UNUSED */ // struct Object *psys_find_object(struct Scene *scene, struct ParticleSystem *psys); -struct LatticeDeformData *psys_create_lattice_deform_data(struct ParticleSimulationData *sim); +/** + * Initialize/free data for particle simulation evaluation. + */ +void psys_sim_data_init(struct ParticleSimulationData *sim); +void psys_sim_data_free(struct ParticleSimulationData *sim); /** * For a given evaluated particle system get its original. @@ -416,7 +420,7 @@ void psys_get_particle_on_path(struct ParticleSimulationData *sim, struct ParticleKey *state, bool vel); /** - * Gets particle's state at a time. + * Gets particle's state at a time. Must call psys_sim_data_init before this. * \return true if particle exists and can be seen and false if not. */ bool psys_get_particle_state(struct ParticleSimulationData *sim, |