Lines Matching refs:numTriangles
679 const int numTriangles = 25; in renderPattern() local
680 for (int i = 0; i < numTriangles; i++) in renderPattern()
682 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
683 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
1149 const int numTriangles = 25; in iterate() local
1150 for (int i = 0; i < numTriangles; i++) in iterate()
1152 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
1153 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in iterate()
1553 const int numTriangles = 25; in drawPattern() local
1554 for (int i = 0; i < numTriangles; i++) in drawPattern()
1556 …GLU_CHECK_CALL(glSampleCoverage((float)i / (float)(numTriangles-1), invertSampleCoverage ? GL_TRUE… in drawPattern()
1558 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in drawPattern()
1559 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in drawPattern()
1564 Vec4(0.4f + (float)i/(float)numTriangles*0.6f, in drawPattern()
1565 0.5f + (float)i/(float)numTriangles*0.3f, in drawPattern()
1566 0.6f - (float)i/(float)numTriangles*0.5f, in drawPattern()
1567 0.7f - (float)i/(float)numTriangles*0.7f)); in drawPattern()