Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show First 20 Lines • Show All 275 Lines • ▼ Show 20 Lines | typedef struct SculptClothSimulation { | ||||
| 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 SculptPersistentBase { | ||||
| float co[3]; | float co[3]; | ||||
| float no[3]; | float no[3]; | ||||
| float disp; | float disp; | ||||
| } SculptLayerPersistentBase; | } SculptPersistentBase; | ||||
| /* Session data (mode-specific) */ | /* Session data (mode-specific) */ | ||||
| typedef struct SculptSession { | typedef struct SculptSession { | ||||
| /* Mesh data (not copied) can come either directly from a Mesh, or from a MultiresDM */ | /* Mesh data (not copied) can come either directly from a Mesh, or from a MultiresDM */ | ||||
| struct { /* Special handling for multires meshes */ | struct { /* Special handling for multires meshes */ | ||||
| bool active; | bool active; | ||||
| struct MultiresModifierData *modifier; | struct MultiresModifierData *modifier; | ||||
| ▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | typedef struct SculptSession { | ||||
| /* Dynamic mesh preview */ | /* Dynamic mesh preview */ | ||||
| int *preview_vert_index_list; | int *preview_vert_index_list; | ||||
| int preview_vert_index_count; | int preview_vert_index_count; | ||||
| /* Pose Brush Preview */ | /* Pose Brush Preview */ | ||||
| float pose_origin[3]; | float pose_origin[3]; | ||||
| SculptPoseIKChain *pose_ik_chain_preview; | SculptPoseIKChain *pose_ik_chain_preview; | ||||
| /* Layer brush persistence between strokes */ | /* Mesh State Persistence */ | ||||
| /* This is freed with the PBVH, so it is always in sync with the mesh. */ | /* This is freed with the PBVH, so it is always in sync with the mesh. */ | ||||
| SculptLayerPersistentBase *layer_base; | SculptPersistentBase *persistent_base; | ||||
| /* Transform operator */ | /* Transform operator */ | ||||
| float pivot_pos[3]; | float pivot_pos[3]; | ||||
| float pivot_rot[4]; | float pivot_rot[4]; | ||||
| float pivot_scale[3]; | float pivot_scale[3]; | ||||
| float init_pivot_pos[3]; | float init_pivot_pos[3]; | ||||
| float init_pivot_rot[4]; | float init_pivot_rot[4]; | ||||
| ▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines | |||||