-------------------------------------------------------------------------------------- Description This function is called at the beginning of visibility query. See Also: OnQueryEnd, DoQueryBegin, DoQueryBeginPrePass --------------------------------------------------------------------------------------
| 1028 | // OnQueryEnd, DoQueryBegin, DoQueryBeginPrePass |
| 1029 | // -------------------------------------------------------------------------------------- |
| 1030 | void Tr2InteriorScene::OnQueryBegin( void ) |
| 1031 | { |
| 1032 | Tr2VisibilityEvent event; |
| 1033 | event.m_eventType = Tr2VisibilityEvent::QUERY_BEGIN; |
| 1034 | |
| 1035 | if( m_visibilityQueryType == PRIMARY_QUERY ) |
| 1036 | { |
| 1037 | m_visibilityResults->AddVisibilityEvent( event ); |
| 1038 | } |
| 1039 | } |
| 1040 | |
| 1041 | void Tr2InteriorScene::OnInstanceVisible( ITr2InteriorCullable* cullable, const Matrix& objectToWorld ) |
| 1042 | { |
nothing calls this directly
no test coverage detected