Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show All 31 Lines | |||||
| #endif | #endif | ||||
| struct BMFace; | struct BMFace; | ||||
| struct BMesh; | struct BMesh; | ||||
| struct Brush; | struct Brush; | ||||
| struct CurveMapping; | struct CurveMapping; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct EnumPropertyItem; | struct EnumPropertyItem; | ||||
| struct EdgeSet; | |||||
| struct GHash; | struct GHash; | ||||
| struct GSet; | struct GSet; | ||||
| struct GridPaintMask; | struct GridPaintMask; | ||||
| struct ImagePool; | struct ImagePool; | ||||
| struct MLoop; | struct MLoop; | ||||
| struct MLoopTri; | struct MLoopTri; | ||||
| struct MVert; | struct MVert; | ||||
| struct Main; | struct Main; | ||||
| ▲ Show 20 Lines • Show All 206 Lines • ▼ Show 20 Lines | |||||
| typedef struct SculptPoseIKChain { | typedef struct SculptPoseIKChain { | ||||
| SculptPoseIKChainSegment *segments; | SculptPoseIKChainSegment *segments; | ||||
| int tot_segments; | int tot_segments; | ||||
| float grab_delta_offset[3]; | float grab_delta_offset[3]; | ||||
| } SculptPoseIKChain; | } SculptPoseIKChain; | ||||
| /* Cloth Brush */ | /* Cloth Brush */ | ||||
| typedef enum SculptClothConstraintType { | |||||
| SCULPT_CLOTH_CONSTRAINT_TENSION, | |||||
| SCULPT_CLOTH_CONSTRAINT_SHEARING, | |||||
| SCULPT_CLOTH_CONSTRAINT_BENDING, | |||||
| } SculptClothConstraintType; | |||||
| typedef struct SculptClothLengthConstraint { | typedef struct SculptClothLengthConstraint { | ||||
| int v1; | int v1; | ||||
| int v2; | int v2; | ||||
| float length; | float length; | ||||
| SculptClothConstraintType type; | |||||
| } SculptClothLengthConstraint; | } SculptClothLengthConstraint; | ||||
| typedef struct SculptClothAngularConstraint { | |||||
| int v1; | |||||
| int v2; | |||||
| int v1_tri; | |||||
| int v2_tri; | |||||
| int origin; | |||||
| bool flip_rotation; | |||||
| float angle; | |||||
| SculptClothConstraintType type; | |||||
| } SculptClothAngularConstraint; | |||||
| typedef struct SculptClothSimulation { | typedef struct SculptClothSimulation { | ||||
| SculptClothLengthConstraint *length_constraints; | SculptClothLengthConstraint *length_constraints; | ||||
| int tot_length_constraints; | int tot_length_constraints; | ||||
| struct GSet *created_length_constraints; | |||||
| int capacity_length_constraints; | int capacity_length_constraints; | ||||
| struct GSet *created_length_constraints; | |||||
| float *length_constraint_tweak; | float *length_constraint_tweak; | ||||
| SculptClothAngularConstraint *angular_constraints; | |||||
| int tot_angular_constraints; | |||||
| int capacity_angular_constraints; | |||||
| struct EdgeSet *created_angular_constraints; | |||||
| float mass; | float mass; | ||||
| float damping; | float damping; | ||||
| float tension; | |||||
| float shearing; | |||||
| float bending; | |||||
| float (*acceleration)[3]; | float (*acceleration)[3]; | ||||
| float (*pos)[3]; | float (*pos)[3]; | ||||
| float (*init_pos)[3]; | float (*init_pos)[3]; | ||||
| float (*prev_pos)[3]; | float (*prev_pos)[3]; | ||||
| } SculptClothSimulation; | } SculptClothSimulation; | ||||
| typedef struct SculptLayerPersistentBase { | typedef struct SculptLayerPersistentBase { | ||||
| ▲ Show 20 Lines • Show All 170 Lines • Show Last 20 Lines | |||||