diff options
Diffstat (limited to 'intern/cycles/bvh/split.h')
-rw-r--r-- | intern/cycles/bvh/split.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/intern/cycles/bvh/split.h b/intern/cycles/bvh/split.h index 2650a500ea9..92953c40040 100644 --- a/intern/cycles/bvh/split.h +++ b/intern/cycles/bvh/split.h @@ -26,6 +26,7 @@ CCL_NAMESPACE_BEGIN class BVHBuild; class Hair; class Mesh; +class PointCloud; struct Transform; /* Object Split */ @@ -123,6 +124,13 @@ class BVHSpatialSplit { float pos, BoundBox &left_bounds, BoundBox &right_bounds); + void split_point_primitive(const PointCloud *pointcloud, + const Transform *tfm, + int prim_index, + int dim, + float pos, + BoundBox &left_bounds, + BoundBox &right_bounds); /* Lower-level functions which calculates boundaries of left and right nodes * needed for spatial split. @@ -141,6 +149,12 @@ class BVHSpatialSplit { float pos, BoundBox &left_bounds, BoundBox &right_bounds); + void split_point_reference(const BVHReference &ref, + const PointCloud *pointcloud, + int dim, + float pos, + BoundBox &left_bounds, + BoundBox &right_bounds); void split_object_reference( const Object *object, int dim, float pos, BoundBox &left_bounds, BoundBox &right_bounds); |