Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-22 18:33:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-03-31 14:52:38 +0300
commit791a0852e8d7f17887896245ef62a826b2228648 (patch)
tree8ceff1a90c366afe0ccb50875d4b56abfef07f90 /intern/cycles/bvh/bvh_build.cpp
parent4ec95d621ada1ffe9df742e0afee00679ce137ad (diff)
Cycles: Name cleanup and some comments in BVH code
Diffstat (limited to 'intern/cycles/bvh/bvh_build.cpp')
-rw-r--r--intern/cycles/bvh/bvh_build.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp
index 9f1fb9c520d..6d785dffadf 100644
--- a/intern/cycles/bvh/bvh_build.cpp
+++ b/intern/cycles/bvh/bvh_build.cpp
@@ -243,10 +243,10 @@ BVHNode* BVHBuild::run()
spatial_storage.resize(1);
size_t num_bins = max(root.size(), (int)BVHParams::NUM_SPATIAL_BINS) - 1;
foreach(BVHSpatialStorage &storage, spatial_storage) {
- storage.spatial_right_bounds.clear();
- storage.spatial_right_bounds.resize(num_bins);
- storage.spatial_indices.clear();
- storage.spatial_indices.reserve(num_bins);
+ storage.right_bounds.clear();
+ storage.right_bounds.resize(num_bins);
+ storage.reference_indices.clear();
+ storage.reference_indices.reserve(num_bins);
}
}