Lines Matching refs:numCols
311 // Generate a numRows x numCols arrangement of line polygons of different vertex counts.
315 const int numCols = 4;
321 for (int col = 0; col < numCols; col++)
323 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols;
324 int numVertices = row*numCols + col + 1;
328 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols;
337 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
378 // Generate a numRows x numCols arrangement of triangle fan polygons of different vertex counts.
382 const int numCols = 4;
388 for (int col = 0; col < numCols; col++)
390 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols;
391 int numArcVertices = row*numCols + col;
400 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numCols;
409 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.