---------------------------------------------------------------------
| 3289 | } |
| 3290 | //--------------------------------------------------------------------- |
| 3291 | void SceneManager::resetViewProjMode( bool fixedFunction ) |
| 3292 | { |
| 3293 | if( mResetIdentityView ) |
| 3294 | { |
| 3295 | // Coming back to normal from identity view |
| 3296 | if( fixedFunction ) |
| 3297 | setViewMatrix( mCachedViewMatrix ); |
| 3298 | mGpuParamsDirty |= (uint16)GPV_GLOBAL; |
| 3299 | |
| 3300 | mResetIdentityView = false; |
| 3301 | } |
| 3302 | |
| 3303 | if( mResetIdentityProj ) |
| 3304 | { |
| 3305 | // Coming back from flat projection |
| 3306 | if( fixedFunction ) |
| 3307 | mDestRenderSystem->_setProjectionMatrix( Matrix4::IDENTITY ); |
| 3308 | mGpuParamsDirty |= (uint16)GPV_GLOBAL; |
| 3309 | |
| 3310 | mResetIdentityProj = false; |
| 3311 | } |
| 3312 | } |
| 3313 | //--------------------------------------------------------------------- |
| 3314 | void SceneManager::addRenderQueueListener( RenderQueueListener *newListener ) |
| 3315 | { |
nothing calls this directly
no test coverage detected