diff options
Diffstat (limited to 'intern/cycles/bvh/bvh.h')
-rw-r--r-- | intern/cycles/bvh/bvh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/bvh/bvh.h b/intern/cycles/bvh/bvh.h index c8ad29004d7..33a069eeaf5 100644 --- a/intern/cycles/bvh/bvh.h +++ b/intern/cycles/bvh/bvh.h @@ -99,8 +99,6 @@ protected: /* Refit range of primitives. */ void refit_primitives(int start, int end, BoundBox& bbox, uint& visibility); - static __forceinline bool leaf_check(const BVHNode *node, BVH_TYPE bvh); - static bool node_is_unaligned(const BVHNode *node, BVH_TYPE bvh); /* triangles and strands */ void pack_primitives(); @@ -112,6 +110,8 @@ protected: /* for subclasses to implement */ virtual void pack_nodes(const BVHNode *root) = 0; virtual void refit_nodes() = 0; + + virtual BVHNode *widen_children_nodes(const BVHNode *root) = 0; }; /* Pack Utility */ |