Searched refs:numTriangles (Results 1 – 10 of 10) sorted by relevance
206 const int numTriangles = 72; in init() local208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2); in init()212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd); in init()227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd); in init()228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd); in init()237 m_verticesInPattern = numTriangles * 3; in init()
667 const int numTriangles = 25; in renderPattern() local668 for (int i = 0; i < numTriangles; i++) in renderPattern()670 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()671 …float angle1 = 2.0f*DE_PI * (float)(i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()1125 const int numTriangles = 25; in iterate() local1126 for (int i = 0; i < numTriangles; i++) in iterate()1128 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()1129 float angle1 = 2.0f*DE_PI * (float)(i + 0.5f) / (float)numTriangles; in iterate()1529 const int numTriangles = 25; in drawPattern() local1530 for (int i = 0; i < numTriangles; i++) in drawPattern()[all …]
511 const int numTriangles = 25; in renderPattern() local512 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()978 const int numTriangles = 25; in iterate() local979 for (int i = 0; i < numTriangles; i++) in iterate()981 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()982 float angle1 = 2.0f*DE_PI * (float)(i + 0.5f) / (float)numTriangles; in iterate()1391 const int numTriangles = 25; in drawPattern() local1392 for (int i = 0; i < numTriangles; i++) in drawPattern()[all …]
487 const int numTriangles = 25; in drawPattern() local490 for (int triNdx = 0; triNdx < numTriangles; triNdx++) in drawPattern()492 const float angle0 = 2.0f*DE_PI * (float)triNdx / (float)numTriangles; in drawPattern()493 const float angle1 = 2.0f*DE_PI * (float)(triNdx + 0.5f) / (float)numTriangles; in drawPattern()494 const Vec4 color = Vec4(0.4f + (float)triNdx/(float)numTriangles*0.6f, in drawPattern()495 0.5f + (float)triNdx/(float)numTriangles*0.3f, in drawPattern()496 0.6f - (float)triNdx/(float)numTriangles*0.5f, in drawPattern()497 0.7f - (float)triNdx/(float)numTriangles*0.7f); in drawPattern()
773 const int numTriangles = 200; in setupRenderData() local775 std::vector<tcu::Vec4> data (numTriangles * 3 * 3); in setupRenderData()778 m_renderCount = numTriangles * 3; in setupRenderData()788 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData()790 const float angle = ((float)triangleNdx) / numTriangles * 2.0f * DE_PI; in setupRenderData()791 const float nextAngle = ((float)triangleNdx + 1.0f) / numTriangles * 2.0f * DE_PI; in setupRenderData()
1466 const int numTriangles = aOrB == 0 ? numTrianglesA : numTrianglesB; in compareTriangleSets() local1469 for (int triNdx = 0; triNdx < numTriangles; triNdx++) in compareTriangleSets()
316 var numTriangles = 2 * 6;