Lines Matching refs:numTriangles
511 const int numTriangles = 25; in renderPattern() local
512 for (int i = 0; i < numTriangles; i++) in renderPattern()
514 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
515 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
990 const int numTriangles = 25; in iterate() local
991 for (int i = 0; i < numTriangles; i++) in iterate()
993 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
994 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in iterate()
1403 const int numTriangles = 25; in drawPattern() local
1404 for (int i = 0; i < numTriangles; i++) in drawPattern()
1406 …GLU_CHECK_CALL(glSampleCoverage((float)i / (float)(numTriangles-1), invertSampleCoverage ? GL_TRUE… in drawPattern()
1408 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in drawPattern()
1409 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in drawPattern()
1414 Vec4(0.4f + (float)i/(float)numTriangles*0.6f, in drawPattern()
1415 0.5f + (float)i/(float)numTriangles*0.3f, in drawPattern()
1416 0.6f - (float)i/(float)numTriangles*0.5f, in drawPattern()
1417 0.7f - (float)i/(float)numTriangles*0.7f)); in drawPattern()