Lines Matching refs:gridWidth
1706 const int gridWidth = 4; in iterate() local
1708 const int numVertices = (gridWidth+1)*(gridHeight+1); in iterate()
1709 …const int numIndices = gridWidth*gridHeight * (m_primitiveType == TESSPRIMITIVETYPE_TRIANGL… in iterate()
1722 for (int j = 0; j < gridWidth+1; j++) in iterate()
1724 gridPosComps.push_back(-1.0f + 2.0f * ((float)j + 0.5f) / (float)(gridWidth+1)); in iterate()
1726 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); in iterate()
1737 for (int j = 0; j < gridWidth; j++) in iterate()
1741 (i+0)*(gridWidth+1) + j+0, in iterate()
1742 (i+0)*(gridWidth+1) + j+1, in iterate()
1743 (i+1)*(gridWidth+1) + j+0, in iterate()
1744 (i+1)*(gridWidth+1) + j+1 in iterate()
1761 for (int j = 0; j < gridWidth; j++) in iterate()
1767 gridIndices.push_back((i+(i+m)%2)*(gridWidth+1) + j+(j+n)%2); in iterate()