Clear all the debugging primitives (points, lines, triangles, ...)
| 60 | |
| 61 | // Clear all the debugging primitives (points, lines, triangles, ...) |
| 62 | void DebugRenderer::reset() { |
| 63 | |
| 64 | mLines.clear(); |
| 65 | mTriangles.clear(); |
| 66 | } |
| 67 | |
| 68 | // Draw an AABB |
| 69 | void DebugRenderer::drawAABB(const AABB& aabb, uint32 color) { |