------------------------------------------------------------- Description: Assigns a flag indicating that the area requires rendering triangles in reversed order and reversed culling order. Arguments: reversed - true If the area requests reversed order of rendering false If the area needs a normal order of rendering -------------------------------------------------------------
| 136 | // false If the area needs a normal order of rendering |
| 137 | // ------------------------------------------------------------- |
| 138 | void Tr2MeshArea::SetReversed( bool reversed ) |
| 139 | { |
| 140 | m_reversed = reversed; |
| 141 | if( m_reversed ) |
| 142 | { |
| 143 | for_each( begin( m_ownerMeshes ), end( m_ownerMeshes ), []( auto mesh ) { |
| 144 | mesh->ReverseIndexBuffers(); |
| 145 | } ); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | // ------------------------------------------------------------- |
| 150 | // Description: |
nothing calls this directly
no test coverage detected