| 26 | } |
| 27 | |
| 28 | void SwitchNode::GetVisibleSet(Culler& culler, |
| 29 | std::shared_ptr<Camera> const& camera, bool noCull) |
| 30 | { |
| 31 | if (mActiveChild > invalidChild) |
| 32 | { |
| 33 | // All Visual objects in the active subtree are added to the |
| 34 | // visible set. |
| 35 | auto const& child = mChild[mActiveChild]; |
| 36 | if (child) |
| 37 | { |
| 38 | child->OnGetVisibleSet(culler, camera, noCull); |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | |
| 43 |
nothing calls this directly
no test coverage detected