builder.normal(0, 0, -1);
builder.texcoord(0.5, 0);
- builder.vertex(0, 0, -length/2+radius);
+ builder.vertex(0, 0, -length/2-radius);
for(unsigned i=1; i<rings; ++i)
{
float cz = length*(i>rings/2 ? 0.5 : -0.5);
}
builder.normal(0, 0, 1);
builder.texcoord(0.5, (length+radius*M_PI)*v_scale);
- builder.vertex(0, 0, length/2-radius);
+ builder.vertex(0, 0, length/2+radius);
for(unsigned i=0; i<segments; ++i)
{