| 779 | } |
| 780 | |
| 781 | void Tr2Sprite2dScene::SetTextureWindow( unsigned int ix, float x, float y, float width, float height ) |
| 782 | { |
| 783 | //CCP_STATS_ZONE( __FUNCTION__ ); |
| 784 | |
| 785 | CCP_ASSERT( ix < 2 ); |
| 786 | |
| 787 | if( m_texture[ix] ) |
| 788 | { |
| 789 | TextureSetting& texSettings = m_textureSettings[ix]; |
| 790 | m_texture[ix]->CalcSubTextureWindow( texSettings.textureWindow, x, y, width, height ); |
| 791 | } |
| 792 | } |
| 793 | |
| 794 | void Tr2Sprite2dScene::SetTextureTransform( unsigned int ix, Matrix* m ) |
| 795 | { |
no test coverage detected