Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show All 18 Lines | |||||
| #ifndef __BKE_PAINT_H__ | #ifndef __BKE_PAINT_H__ | ||||
| #define __BKE_PAINT_H__ | #define __BKE_PAINT_H__ | ||||
| /** \file | /** \file | ||||
| * \ingroup bke | * \ingroup bke | ||||
| */ | */ | ||||
| #include "BLI_bitmap.h" | |||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "DNA_object_enums.h" | #include "DNA_object_enums.h" | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct BMFace; | struct BMFace; | ||||
| ▲ Show 20 Lines • Show All 251 Lines • ▼ Show 20 Lines | typedef struct SculptPersistentBase { | ||||
| float co[3]; | float co[3]; | ||||
| float no[3]; | float no[3]; | ||||
| float disp; | float disp; | ||||
| } SculptPersistentBase; | } SculptPersistentBase; | ||||
| typedef struct SculptVertexInfo { | typedef struct SculptVertexInfo { | ||||
| /* Idexed by vertex, stores and ID of its topologycally connected component. */ | /* Idexed by vertex, stores and ID of its topologycally connected component. */ | ||||
| int *connected_component; | int *connected_component; | ||||
| /* Indexed by base mesh vertex index, stores if that vertex is a boundary. */ | |||||
| BLI_bitmap *boundary; | |||||
| } SculptVertexInfo; | } SculptVertexInfo; | ||||
| typedef struct SculptFakeNeighbors { | typedef struct SculptFakeNeighbors { | ||||
| bool use_fake_neighbors; | bool use_fake_neighbors; | ||||
| /* Max distance used to calculate neighborhood information. */ | /* Max distance used to calculate neighborhood information. */ | ||||
| float current_max_distance; | float current_max_distance; | ||||
| ▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines | |||||