Lines Matching refs:map_vertices
341 static GLfloat map_vertices[3][MAP_NUM_TOTAL_VERTICES]; variable
481 map_vertices[0][k] = x; in init_map()
482 map_vertices[1][k] = 0.0f; in init_map()
483 map_vertices[2][k] = z; in init_map()
494 i, map_vertices[0][i], map_vertices[1][i], map_vertices[2][i]); in init_map()
545 map_vertices[0][beg], map_vertices[1][beg], map_vertices[2][beg], in init_map()
546 map_vertices[0][end], map_vertices[1][end], map_vertices[2][end]); in init_map()
582 GLfloat dx = center_x - map_vertices[0][ii]; in update_map()
583 GLfloat dz = center_z - map_vertices[2][ii]; in update_map()
589 map_vertices[1][ii] += new_height; in update_map()
617 …pglBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[0][0], GL_S… in make_mesh()
623 …pglBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[2][0], GL_S… in make_mesh()
629 …pglBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[1][0], GL_D… in make_mesh()
638 …pglBufferSubData(GL_ARRAY_BUFFER, 0, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[1][0]… in update_mesh()