Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_particle.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| struct LatticeDeformData; | struct LatticeDeformData; | ||||
| struct LinkNode; | struct LinkNode; | ||||
| struct KDTree; | struct KDTree; | ||||
| struct RNG; | struct RNG; | ||||
| struct BVHTreeRay; | struct BVHTreeRay; | ||||
| struct BVHTreeRayHit; | struct BVHTreeRayHit; | ||||
| struct EdgeHash; | struct EdgeHash; | ||||
| struct EvaluationContext; | struct EvaluationContext; | ||||
| struct SceneLayer; | struct ViewLayer; | ||||
| #define PARTICLE_COLLISION_MAX_COLLISIONS 10 | #define PARTICLE_COLLISION_MAX_COLLISIONS 10 | ||||
| #define PARTICLE_P ParticleData * pa; int p | #define PARTICLE_P ParticleData * pa; int p | ||||
| #define LOOP_PARTICLES for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) | #define LOOP_PARTICLES for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) | ||||
| #define LOOP_EXISTING_PARTICLES for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) if (!(pa->flag & PARS_UNEXIST)) | #define LOOP_EXISTING_PARTICLES for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) if (!(pa->flag & PARS_UNEXIST)) | ||||
| #define LOOP_SHOWN_PARTICLES for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) if (!(pa->flag & (PARS_UNEXIST | PARS_NO_DISP))) | #define LOOP_SHOWN_PARTICLES for (p = 0, pa = psys->particles; p < psys->totpart; p++, pa++) if (!(pa->flag & (PARS_UNEXIST | PARS_NO_DISP))) | ||||
| /* OpenMP: Can only advance one variable within loop definition. */ | /* OpenMP: Can only advance one variable within loop definition. */ | ||||
| ▲ Show 20 Lines • Show All 217 Lines • ▼ Show 20 Lines | |||||
| /* for rna */ | /* for rna */ | ||||
| short psys_get_current_num(struct Object *ob); | short psys_get_current_num(struct Object *ob); | ||||
| void psys_set_current_num(Object *ob, int index); | void psys_set_current_num(Object *ob, int index); | ||||
| /* UNUSED */ | /* UNUSED */ | ||||
| // struct Object *psys_find_object(struct Scene *scene, struct ParticleSystem *psys); | // struct Object *psys_find_object(struct Scene *scene, struct ParticleSystem *psys); | ||||
| struct LatticeDeformData *psys_create_lattice_deform_data(struct ParticleSimulationData *sim); | struct LatticeDeformData *psys_create_lattice_deform_data(struct ParticleSimulationData *sim); | ||||
| bool psys_in_edit_mode(struct SceneLayer *scene_layer, struct ParticleSystem *psys); | bool psys_in_edit_mode(struct ViewLayer *view_layer, struct ParticleSystem *psys); | ||||
| bool psys_check_enabled(struct Object *ob, struct ParticleSystem *psys, const bool use_render_params); | bool psys_check_enabled(struct Object *ob, struct ParticleSystem *psys, const bool use_render_params); | ||||
| bool psys_check_edited(struct ParticleSystem *psys); | bool psys_check_edited(struct ParticleSystem *psys); | ||||
| void psys_check_group_weights(struct ParticleSettings *part); | void psys_check_group_weights(struct ParticleSettings *part); | ||||
| int psys_uses_gravity(struct ParticleSimulationData *sim); | int psys_uses_gravity(struct ParticleSimulationData *sim); | ||||
| /* free */ | /* free */ | ||||
| void BKE_particlesettings_free(struct ParticleSettings *part); | void BKE_particlesettings_free(struct ParticleSettings *part); | ||||
| ▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines | |||||