| 274 | } |
| 275 | |
| 276 | void FontAtlas::clear() |
| 277 | { |
| 278 | mUsed = 0; |
| 279 | |
| 280 | nodes.clear(); |
| 281 | nodes.push_back(glm::vec3(BORDER_GAP, BORDER_GAP, mWidth-BORDER_GAP-1)); |
| 282 | |
| 283 | std::fill(mData.begin(), mData.end(), 0); |
| 284 | } |
| 285 | |
| 286 | GLuint FontAtlas::atlasTextureId() const |
| 287 | { |
no outgoing calls
no test coverage detected