Searched refs:nTrianglesPerQuad (Results 1 – 1 of 1) sorted by relevance
565 const int nTrianglesPerQuad = 2; in createGridTriangles() local566 unsigned int nTriangles = m_grid_granulity * m_grid_granulity * nTrianglesPerQuad; in createGridTriangles()571 for (unsigned int nQuad = 0; nQuad < (nTriangles / nTrianglesPerQuad); ++nQuad) in createGridTriangles()587 test_data.m_grid->m_triangles[nQuad * nTrianglesPerQuad + 0].m_vertex_x = pointTL; in createGridTriangles()588 test_data.m_grid->m_triangles[nQuad * nTrianglesPerQuad + 0].m_vertex_x_adjacent = pointTR; in createGridTriangles()589 test_data.m_grid->m_triangles[nQuad * nTrianglesPerQuad + 0].m_vertex_y = pointBR; in createGridTriangles()590 test_data.m_grid->m_triangles[nQuad * nTrianglesPerQuad + 0].m_vertex_y_adjacent = pointBL; in createGridTriangles()591 test_data.m_grid->m_triangles[nQuad * nTrianglesPerQuad + 0].m_vertex_z = pointBL; in createGridTriangles()592 test_data.m_grid->m_triangles[nQuad * nTrianglesPerQuad + 0].m_vertex_z_adjacent = pointBR; in createGridTriangles()594 test_data.m_grid->m_triangles[nQuad * nTrianglesPerQuad + 1].m_vertex_x = pointTL; in createGridTriangles()[all …]