| 152 | } |
| 153 | |
| 154 | bool Tr2InteriorLightSource::IsInFrustum( const TriFrustum& frustum, Matrix& objectToWorld ) const |
| 155 | { |
| 156 | if( !m_primaryLighting ) |
| 157 | { |
| 158 | return false; |
| 159 | } |
| 160 | objectToWorld = TranslationMatrix( m_position ); |
| 161 | return frustum.IsBoxVisible( m_worldBoundingBox.m_min, m_worldBoundingBox.m_max ); |
| 162 | } |
| 163 | |
| 164 | void Tr2InteriorLightSource::GetDebugOptions( Tr2DebugRendererOptions& options ) |
| 165 | { |
nothing calls this directly
no test coverage detected