-------------------------------------------------------------------------------------- Description: Reserves a new texcoord from the atlas. Arguments: coord - (out) New texcoord Return Value: true If texcoord was reserved false If the atlas is full --------------------------------------------------------------------------------------
| 64 | // false If the atlas is full |
| 65 | // -------------------------------------------------------------------------------------- |
| 66 | bool Tr2ImpostorManager::ImpostorAtlas::Reserve( Vector2_16& coord ) |
| 67 | { |
| 68 | if( m_free.empty() ) |
| 69 | { |
| 70 | return false; |
| 71 | } |
| 72 | coord = m_free.back(); |
| 73 | m_free.pop_back(); |
| 74 | return true; |
| 75 | } |
| 76 | |
| 77 | // -------------------------------------------------------------------------------------- |
| 78 | // Description: |
no test coverage detected