diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-11 17:18:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-11 18:18:14 +0300 |
commit | e4cdda548a582b626f4a42bb702f166178a083e5 (patch) | |
tree | 758961376b02806cb7613ccef7810d09d1f7430d /intern/cycles/bvh/bvh.h | |
parent | 6cd13a221f374091203dd38ea0f9fc649a2b9a7f (diff) |
Cycles: Remove unused SAH from BVH pack
Diffstat (limited to 'intern/cycles/bvh/bvh.h')
-rw-r--r-- | intern/cycles/bvh/bvh.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/bvh/bvh.h b/intern/cycles/bvh/bvh.h index 4b9f1bae801..6076c25ca31 100644 --- a/intern/cycles/bvh/bvh.h +++ b/intern/cycles/bvh/bvh.h @@ -67,13 +67,9 @@ struct PackedBVH { /* index of the root node. */ int root_index; - /* surface area heuristic, for building top level BVH */ - float SAH; - PackedBVH() { root_index = 0; - SAH = 0.0f; } }; |