Lines Matching refs:numRows
286 const int numRows = 20;
288 for (int row = 0; row < numRows; row++)
292 float fx = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numRows;
293 float fy = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
301 if (row < numRows - 1) // Add a restart after all but last row.
311 // Generate a numRows x numCols arrangement of line polygons of different vertex counts.
314 const int numRows = 4;
317 for (int row = 0; row < numRows; row++)
319 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
329 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows;
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.
381 const int numRows = 4;
384 for (int row = 0; row < numRows; row++)
386 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
401 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numRows;
409 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
423 const int numRows = 3*7;
425 for (int rowNdx = 0; rowNdx < numRows; rowNdx++)
431 float fx = -0.9f + 1.8f * ((float)(i/3) + (i%3 == 2 ? 0.8f : 0.0f)) * 3 / numRows;
432 float fy = -0.9f + 1.8f * ((float)rowNdx + (i%3 == 0 ? 0.0f : 0.8f)) / numRows;
440 if (rowNdx < numRows - 1) // Add a restart after all but last row.