From 706cf662409f62b906b196580a61e84f2588ff44 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Mon, 22 Feb 2016 18:15:37 -0800 Subject: [PATCH] restor name: viewTest() --> frustumTest() --- libraries/render/src/render/CullTask.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/render/src/render/CullTask.cpp b/libraries/render/src/render/CullTask.cpp index bd63eb5ce0..c2b9b99bef 100644 --- a/libraries/render/src/render/CullTask.cpp +++ b/libraries/render/src/render/CullTask.cpp @@ -237,7 +237,7 @@ void CullSpatialSelection::run(const SceneContextPointer& sceneContext, const Re */ } - bool viewTest(const AABox& bound) { + bool frustumTest(const AABox& bound) { if (_args->_viewFrustum->boxInFrustum(bound) == ViewFrustum::OUTSIDE) { _renderDetails._outOfView++; return false; @@ -302,7 +302,7 @@ void CullSpatialSelection::run(const SceneContextPointer& sceneContext, const Re auto& item = scene->getItem(id); if (_filter.test(item.getKey())) { ItemBound itemBound(id, item.getBound()); - if (test.viewTest(itemBound.bound)) { + if (test.frustumTest(itemBound.bound)) { outItems.emplace_back(itemBound); } } @@ -316,7 +316,7 @@ void CullSpatialSelection::run(const SceneContextPointer& sceneContext, const Re auto& item = scene->getItem(id); if (_filter.test(item.getKey())) { ItemBound itemBound(id, item.getBound()); - if (test.viewTest(itemBound.bound)) { + if (test.frustumTest(itemBound.bound)) { if (test.solidAngleTest(itemBound.bound)) { outItems.emplace_back(itemBound); }