Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_effect.h
| Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | typedef struct EffectorCache { | ||||
| float guide_loc[4], guide_dir[3], guide_radius; | float guide_loc[4], guide_dir[3], guide_radius; | ||||
| float velocity[3]; | float velocity[3]; | ||||
| float frame; | float frame; | ||||
| int flag; | int flag; | ||||
| } EffectorCache; | } EffectorCache; | ||||
| void free_partdeflect(struct PartDeflect *pd); | void free_partdeflect(struct PartDeflect *pd); | ||||
| struct ListBase *pdInitEffectors(struct Scene *scene, struct Object *ob_src, struct ParticleSystem *psys_src, struct EffectorWeights *weights, bool precalc); | struct ListBase *pdInitEffectors(struct Scene *scene, struct Object *ob_src, struct ParticleSystem *psys_src, struct EffectorWeights *weights, bool for_simulation); | ||||
| void pdEndEffectors(struct ListBase **effectors); | void pdEndEffectors(struct ListBase **effectors); | ||||
| void pdPrecalculateEffectors(struct ListBase *effectors); | void pdPrecalculateEffectors(struct ListBase *effectors); | ||||
| void pdDoEffectors(struct ListBase *effectors, struct ListBase *colliders, struct EffectorWeights *weights, struct EffectedPoint *point, float *force, float *impulse); | void pdDoEffectors(struct ListBase *effectors, struct ListBase *colliders, struct EffectorWeights *weights, struct EffectedPoint *point, float *force, float *impulse); | ||||
| void pd_point_from_particle(struct ParticleSimulationData *sim, struct ParticleData *pa, struct ParticleKey *state, struct EffectedPoint *point); | void pd_point_from_particle(struct ParticleSimulationData *sim, struct ParticleData *pa, struct ParticleKey *state, struct EffectedPoint *point); | ||||
| void pd_point_from_loc(struct Scene *scene, float *loc, float *vel, int index, struct EffectedPoint *point); | void pd_point_from_loc(struct Scene *scene, float *loc, float *vel, int index, struct EffectedPoint *point); | ||||
| void pd_point_from_soft(struct Scene *scene, float *loc, float *vel, int index, struct EffectedPoint *point); | void pd_point_from_soft(struct Scene *scene, float *loc, float *vel, int index, struct EffectedPoint *point); | ||||
| ▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines | |||||