Changeset View
Changeset View
Standalone View
Standalone View
source/blender/physics/intern/implicit.h
| Context not available. | |||||
| #define CLOTH_FORCE_GRAVITY | #define CLOTH_FORCE_GRAVITY | ||||
| #define CLOTH_FORCE_DRAG | #define CLOTH_FORCE_DRAG | ||||
| #define CLOTH_FORCE_SPRING_STRUCTURAL | #define CLOTH_FORCE_SPRING_STRUCTURAL | ||||
| #define CLOTH_FORCE_SPRING_SHEAR | |||||
| #define CLOTH_FORCE_SPRING_BEND | #define CLOTH_FORCE_SPRING_BEND | ||||
| #define CLOTH_FORCE_SPRING_GOAL | #define CLOTH_FORCE_SPRING_GOAL | ||||
| #define CLOTH_FORCE_EFFECTORS | #define CLOTH_FORCE_EFFECTORS | ||||
| Context not available. | |||||
| void BPH_mass_spring_force_vertex_wind(struct Implicit_Data *data, int v, float radius, const float (*winvec)[3]); | void BPH_mass_spring_force_vertex_wind(struct Implicit_Data *data, int v, float radius, const float (*winvec)[3]); | ||||
| /* Linear spring force between two points */ | /* Linear spring force between two points */ | ||||
| bool BPH_mass_spring_force_spring_linear(struct Implicit_Data *data, int i, int j, float restlen, | bool BPH_mass_spring_force_spring_linear(struct Implicit_Data *data, int i, int j, float restlen, | ||||
| float stiffness, float damping, bool no_compress, float clamp_force); | float stiffness_tension, float damping_tension, | ||||
| float stiffness_compression, float damping_compression, | |||||
| bool resist_compress, bool new_compress, float clamp_force); | |||||
| /* 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 */ | ||||
| Context not available. | |||||