| 207 | // TextureAtlas - Update, Insert, Move & Remove |
| 208 | |
| 209 | void TextureAtlas::updateQuad(const V3F_C4B_T2F_Quad& quad, ssize_t index) |
| 210 | { |
| 211 | AXASSERT(index >= 0 && index < _capacity, "updateQuadWithTexture: Invalid index"); |
| 212 | |
| 213 | _totalQuads = MAX(index + 1, _totalQuads); |
| 214 | |
| 215 | _quads[index] = quad; |
| 216 | |
| 217 | _dirty = true; |
| 218 | } |
| 219 | |
| 220 | void TextureAtlas::insertQuad(const V3F_C4B_T2F_Quad& quad, ssize_t index) |
| 221 | { |
no outgoing calls
no test coverage detected