diff options
Diffstat (limited to 'intern/cycles/bvh/embree.h')
-rw-r--r-- | intern/cycles/bvh/embree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/bvh/embree.h b/intern/cycles/bvh/embree.h index 746ca97b504..3b30b2bbcf7 100644 --- a/intern/cycles/bvh/embree.h +++ b/intern/cycles/bvh/embree.h @@ -33,6 +33,7 @@ CCL_NAMESPACE_BEGIN class Hair; class Mesh; +class PointCloud; class BVHEmbree : public BVH { public: @@ -51,11 +52,15 @@ class BVHEmbree : public BVH { void add_object(Object *ob, int i); void add_instance(Object *ob, int i); void add_curves(const Object *ob, const Hair *hair, int i); + void add_points(const Object *ob, const PointCloud *pointcloud, int i); void add_triangles(const Object *ob, const Mesh *mesh, int i); private: void set_tri_vertex_buffer(RTCGeometry geom_id, const Mesh *mesh, const bool update); void set_curve_vertex_buffer(RTCGeometry geom_id, const Hair *hair, const bool update); + void set_point_vertex_buffer(RTCGeometry geom_id, + const PointCloud *pointcloud, + const bool update); RTCDevice rtc_device; enum RTCBuildQuality build_quality; |