Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-08 08:45:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-08 08:45:48 +0400
commitebaf3781fa4165808cd9ddb2ed0944788a31af7c (patch)
tree81ac09309f74f8d2e3e51d7fc97da41042b5ef0e /source/blender/blenkernel/intern/pbvh_intern.h
parent593b698b44c631c5228760a7938e9c51b3b115ce (diff)
Dyntopo: replace GHash with GSet, saves some memory
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh_intern.h')
-rw-r--r--source/blender/blenkernel/intern/pbvh_intern.h8
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