| 52 | } |
| 53 | |
| 54 | void Tr2DrawUPHelper::Destroy() |
| 55 | { |
| 56 | for( unsigned i = 0; i != DRAW_UP_RING_SIZE; ++i ) |
| 57 | { |
| 58 | m_vertexUP[i] = ::Tr2BufferAL(); |
| 59 | m_indexUP16[i] = ::Tr2BufferAL(); |
| 60 | m_indexUP32[i] = ::Tr2BufferAL(); |
| 61 | } |
| 62 | |
| 63 | m_nextRingVB = m_nextRingIB16 = m_nextRingIB32 = 0; |
| 64 | } |
| 65 | |
| 66 | ALResult Tr2DrawUPHelper::FillUPVertexBuffer( |
| 67 | uint32_t vertexCount, |
no test coverage detected