diff options
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh_intern.h')
-rw-r--r-- | source/blender/blenkernel/intern/pbvh_intern.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/pbvh_intern.h b/source/blender/blenkernel/intern/pbvh_intern.h index 1230d3a90b6..361f7c6cfde 100644 --- a/source/blender/blenkernel/intern/pbvh_intern.h +++ b/source/blender/blenkernel/intern/pbvh_intern.h @@ -104,7 +104,7 @@ struct PBVHNode { PBVHProxyNode *proxies; /* Dyntopo */ - GHash *bm_faces; + GSet *bm_faces; GSet *bm_unique_verts; GSet *bm_other_verts; float (*bm_orco)[3]; @@ -181,15 +181,11 @@ bool ray_face_intersection(const float ray_start[3], const float ray_normal[3], void pbvh_update_BB_redraw(PBVH *bvh, PBVHNode **nodes, int totnode, int flag); /* pbvh_bmesh.c */ -int pbvh_bmesh_node_raycast( +bool pbvh_bmesh_node_raycast( PBVHNode *node, const float ray_start[3], const float ray_normal[3], float *dist, int use_original); -int pbvh_bmesh_node_raycast_detail( - PBVHNode *node, const float ray_start[3], - const float ray_normal[3], float *detail, float *dist); - void pbvh_bmesh_normals_update(PBVHNode **nodes, int totnode); #endif |