(int numverts)
| 59 | } |
| 60 | |
| 61 | static glpoly_t create(int numverts) { |
| 62 | Polygon poly = polyCache[polyCount++]; |
| 63 | poly.clear(); |
| 64 | poly.numverts = numverts; |
| 65 | poly.pos = bufferIndex; |
| 66 | bufferIndex += numverts; |
| 67 | return poly; |
| 68 | } |
| 69 | |
| 70 | static void reset() { |
| 71 | polyCount = 0; |
no test coverage detected