Changeset View
Changeset View
Standalone View
Standalone View
source/blender/physics/intern/implicit.h
| Context not available. | |||||
| float stiffness_tension, float damping_tension, | float stiffness_tension, float damping_tension, | ||||
| float stiffness_compression, float damping_compression, | float stiffness_compression, float damping_compression, | ||||
| bool resist_compress, bool new_compress, float clamp_force); | bool resist_compress, bool new_compress, float clamp_force); | ||||
| /* Angular spring force between two polygons */ | |||||
| bool BPH_mass_spring_force_spring_angular(struct Implicit_Data *data, int i, int j, int *i_a, int *i_b, int len_a, int len_b, | |||||
| float restang, float stiffness, float damping); | |||||
| /* Bending force, forming a triangle at the base of two structural springs */ | /* Bending force, forming a triangle at the base of two structural springs */ | ||||
| bool BPH_mass_spring_force_spring_bending(struct Implicit_Data *data, int i, int j, float restlen, float kb, float cb); | bool BPH_mass_spring_force_spring_bending(struct Implicit_Data *data, int i, int j, float restlen, float kb, float cb); | ||||
| /* Angular bending force based on local target vectors */ | /* Angular bending force based on local target vectors */ | ||||
| bool BPH_mass_spring_force_spring_bending_angular(struct Implicit_Data *data, int i, int j, int k, | bool BPH_mass_spring_force_spring_bending_hair(struct Implicit_Data *data, int i, int j, int k, | ||||
| const float target[3], float stiffness, float damping); | const float target[3], float stiffness, float damping); | ||||
| /* Global goal spring */ | /* Global goal spring */ | ||||
| bool BPH_mass_spring_force_spring_goal(struct Implicit_Data *data, int i, const float goal_x[3], const float goal_v[3], | bool BPH_mass_spring_force_spring_goal(struct Implicit_Data *data, int i, const float goal_x[3], const float goal_v[3], | ||||
| Context not available. | |||||