MCPcopy Create free account
hub / github.com/demoth/jake2 / create

Method create

client/src/main/java/jake2/client/render/fast/Polygon.java:61–68  ·  view source on GitHub ↗
(int numverts)

Source from the content-addressed store, hash-verified

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;

Callers 5

SubdividePolygonMethod · 0.95
InitMethod · 0.80
initOpenALMethod · 0.80
setModeMethod · 0.80

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected