Lines Matching refs:map_vertices
105 static GLfloat map_vertices[3][MAP_NUM_TOTAL_VERTICES]; variable
219 map_vertices[0][k] = x; in init_map()
220 map_vertices[1][k] = 0.0f; in init_map()
221 map_vertices[2][k] = z; in init_map()
232 i, map_vertices[0][i], map_vertices[1][i], map_vertices[2][i]); in init_map()
283 map_vertices[0][beg], map_vertices[1][beg], map_vertices[2][beg], in init_map()
284 map_vertices[0][end], map_vertices[1][end], map_vertices[2][end]); in init_map()
320 GLfloat dx = center_x - map_vertices[0][ii]; in update_map()
321 GLfloat dz = center_z - map_vertices[2][ii]; in update_map()
327 map_vertices[1][ii] += new_height; in update_map()
355 …glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[0][0], GL_ST… in make_mesh()
361 …glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[2][0], GL_ST… in make_mesh()
367 …glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[1][0], GL_DY… in make_mesh()
376 …glBufferSubData(GL_ARRAY_BUFFER, 0, sizeof(GLfloat) * MAP_NUM_TOTAL_VERTICES, &map_vertices[1][0]); in update_mesh()