getNextVertexInPool method
Implementation
RenderableVertex getNextVertexInPool() {
if (_vertexCount == _vertexPoolLength) {
RenderableVertex vertex = RenderableVertex();
_vertexPool.add(vertex);
_vertexPoolLength++;
_vertexCount++;
return vertex;
}
return _vertexPool[_vertexCount++];
}