Searched refs:numSegments (Results 1 – 1 of 1) sorted by relevance
30 GLfloat* initializeVertices(int numSegments) { in initializeVertices() argument31 GLfloat* vertices = new GLfloat[2 * (numSegments + 2)]; in initializeVertices()35 float dTheta = static_cast<float>(2 * M_PI / numSegments); in initializeVertices()36 for (int i = 0; i < numSegments + 1; i++) { in initializeVertices()