Cycles: De-duplicate trace-time object visibility calculation
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 10 Aug 2017 07:19:40 +0000 (09:19 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 10 Aug 2017 07:21:02 +0000 (09:21 +0200)
commit5a618ab737225869555bb9782265a90f7ca2c373
tree0b6d5f9d385f6266bb409aedf3cee36c203e6722
parentde3c1657132b404d8611134c24894f7157665c29
Cycles: De-duplicate trace-time object visibility calculation

We already have enough files to worry about in BVH builders. no need to add yet
another copy-paste code which is tempting to be running out of sync.
intern/cycles/bvh/bvh.cpp
intern/cycles/bvh/bvh2.cpp
intern/cycles/bvh/bvh4.cpp
intern/cycles/render/object.cpp
intern/cycles/render/object.h