Home | History | Annotate | Download | only in functional

Lines Matching defs:numCols

296 		// Generate a numRows x numCols arrangement of line polygons of different vertex counts.
300 const int numCols = 4;
306 for (int col = 0; col < numCols; col++)
308 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols;
309 int numVertices = row*numCols + col + 1;
313 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols;
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.
367 const int numCols = 4;
373 for (int col = 0; col < numCols; col++)
375 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols;
376 int numArcVertices = row*numCols + col;
385 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numCols;
394 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.