Lines Matching full:numrows
271 const int numRows = 20;
273 for (int row = 0; row < numRows; row++)
277 float fx = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numRows;
278 float fy = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
286 if (row < numRows - 1) // Add a restart after all but last row.
296 // Generate a numRows x numCols arrangement of line polygons of different vertex counts.
299 const int numRows = 4;
302 for (int row = 0; row < numRows; row++)
304 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
314 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows;
322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
363 // Generate a numRows x numCols arrangement of triangle fan polygons of different vertex counts.
366 const int numRows = 4;
369 for (int row = 0; row < numRows; row++)
371 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
386 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numRows;
394 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
408 const int numRows = 3*7;
410 for (int rowNdx = 0; rowNdx < numRows; rowNdx++)
416 float fx = -0.9f + 1.8f * ((i/3) + (i%3 == 2 ? 0.8f : 0.0f)) * 3 / numRows;
417 float fy = -0.9f + 1.8f * ((float)rowNdx + (i%3 == 0 ? 0.0f : 0.8f)) / numRows;
425 if (rowNdx < numRows - 1) // Add a restart after all but last row.