Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_weightvgproximity.c
| Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | typedef struct Vert2GeomData { | ||||
| const SpaceTransform *loc2trgt; | const SpaceTransform *loc2trgt; | ||||
| BVHTreeFromMesh *treeData[3]; | BVHTreeFromMesh *treeData[3]; | ||||
| /* Write data, but not needing locking (two different threads will never write same index). */ | /* Write data, but not needing locking (two different threads will never write same index). */ | ||||
| float *dist[3]; | float *dist[3]; | ||||
| } Vert2GeomData; | } Vert2GeomData; | ||||
| /* Data which is localized to each computed chunk (i.e. thread-safe, and with continous subset of index range). */ | /* Data which is localized to each computed chunk (i.e. thread-safe, and with continuous subset of index range). */ | ||||
| typedef struct Vert2GeomDataChunk { | typedef struct Vert2GeomDataChunk { | ||||
| /* Read-only data */ | /* Read-only data */ | ||||
| float last_hit_co[3][3]; | float last_hit_co[3][3]; | ||||
| bool is_init[3]; | bool is_init[3]; | ||||
| } Vert2GeomDataChunk; | } Vert2GeomDataChunk; | ||||
| /** | /** | ||||
| * Callback used by BLI_task 'for loop' helper. | * Callback used by BLI_task 'for loop' helper. | ||||
| ▲ Show 20 Lines • Show All 521 Lines • Show Last 20 Lines | |||||