- unsigned j2=(j==0 ? 0 : j==x.size()-2 ? 2 : 1);
- imm.texcoord(u[j2], v[i2]);
- imm.vertex(x[j], y[i]);
- imm.texcoord(u[j2+1], v[i2]);
- imm.vertex(x[j+1], y[i]);
- imm.texcoord(u[j2+1], v[i2+1]);
- imm.vertex(x[j+1], y[i+1]);
- imm.texcoord(u[j2], v[i2+1]);
- imm.vertex(x[j], y[i+1]);
+ unsigned j2 = (j==0 ? 0 : j==x.size()-2 ? 2 : 1);
+ bld.texcoord(u[j2], v[i2]);
+ bld.vertex(x[j], y[i]);
+ bld.texcoord(u[j2+1], v[i2]);
+ bld.vertex(x[j+1], y[i]);
+ bld.texcoord(u[j2+1], v[i2+1]);
+ bld.vertex(x[j+1], y[i+1]);
+ bld.texcoord(u[j2], v[i2+1]);
+ bld.vertex(x[j], y[i+1]);