- glTexCoord2f(u[j], v[i]);
- glVertex2f(x[j], y[i]);
- glTexCoord2f(u[j], v[i+1]);
- glVertex2f(x[j], y[i+1]);
+ imm.texcoord(u[j], v[i]);
+ imm.vertex(x[j], y[i]);
+ imm.texcoord(u[j], v[i+1]);
+ imm.vertex(x[j], y[i+1]);
{
add("texture", &Loader::texture);
add("slice", &Loader::slice);
{
add("texture", &Loader::texture);
add("slice", &Loader::slice);
graph.slice=Geometry(0, 0, graph.texture->get_width(), graph.texture->get_height());
}
graph.slice=Geometry(0, 0, graph.texture->get_width(), graph.texture->get_height());
}