Lines Matching defs:map_vertices
107 static GLfloat map_vertices[3][MAP_NUM_TOTAL_VERTICES];
221 map_vertices[0][k] = x;
222 map_vertices[1][k] = 0.0f;
223 map_vertices[2][k] = z;
234 i, map_vertices[0][i], map_vertices[1][i], map_vertices[2][i]);
285 map_vertices[0][beg], map_vertices[1][beg], map_vertices[2][beg],
286 map_vertices[0][end], map_vertices[1][end], map_vertices[2][end]);
322 GLfloat dx = center_x - map_vertices[0][ii];
323 GLfloat dz = center_z - map_vertices[2][ii];
329 map_vertices[1][ii] += new_height;
357 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[0][0], GL_STATIC_DRAW);
363 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[2][0], GL_STATIC_DRAW);
369 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[1][0], GL_DYNAMIC_DRAW);
378 glBufferSubData(GL_ARRAY_BUFFER, 0, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[1][0]);