Lines Matching refs:triangleNdx
790 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData() local
792 const float angle = ((float)triangleNdx) / numTriangles * 2.0f * DE_PI; in setupRenderData()
793 const float nextAngle = ((float)triangleNdx + 1.0f) / numTriangles * 2.0f * DE_PI; in setupRenderData()
795 data[(triangleNdx * 3 + 0) * 3 + 0] = tcu::Vec4(0.2f, -0.3f, 0.0f, 1.0f); in setupRenderData()
796 data[(triangleNdx * 3 + 0) * 3 + 1] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
797 data[(triangleNdx * 3 + 0) * 3 + 2] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
799 data[(triangleNdx * 3 + 1) * 3 + 0] = tcu::Vec4(2.0f * cos(angle), 2.0f * sin(angle), 0.0f, 1.0f); in setupRenderData()
800 data[(triangleNdx * 3 + 1) * 3 + 1] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
801 data[(triangleNdx * 3 + 1) * 3 + 2] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
803 …data[(triangleNdx * 3 + 2) * 3 + 0] = tcu::Vec4(2.0f * cos(nextAngle), 2.0f * sin(nextAngle), 0.0f… in setupRenderData()
804 data[(triangleNdx * 3 + 2) * 3 + 1] = tcu::Vec4(0.0f, 0.0f, 1.0f, 0.0f); in setupRenderData()
805 data[(triangleNdx * 3 + 2) * 3 + 2] = tcu::Vec4(0.0f, 0.0f, 1.0f, 0.0f); in setupRenderData()