Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/pbvh_intern.h
| Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | struct PBVH { | ||||
| PBVHNode *nodes; | PBVHNode *nodes; | ||||
| int node_mem_count, totnode; | int node_mem_count, totnode; | ||||
| /* Memory backing for PBVHNode.prim_indices. */ | /* Memory backing for PBVHNode.prim_indices. */ | ||||
| int *prim_indices; | int *prim_indices; | ||||
| int totprim; | int totprim; | ||||
| int totvert; | int totvert; | ||||
| int faces_num; /* Do not use directly, use BKE_pbvh_num_faces. */ | |||||
| int leaf_limit; | int leaf_limit; | ||||
| /* Mesh data */ | /* Mesh data */ | ||||
| struct Mesh *mesh; | struct Mesh *mesh; | ||||
| /* NOTE: Normals are not `const` because they can be updated for drawing by sculpt code. */ | /* NOTE: Normals are not `const` because they can be updated for drawing by sculpt code. */ | ||||
| float (*vert_normals)[3]; | float (*vert_normals)[3]; | ||||
| ▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines | |||||