u = 1f - us * i;
curr1.position.set(MathUtils.cos(angle) * hw, 0f, MathUtils.sin(angle) * hd);
curr1.normal.set(curr1.position).nor();
curr1.position.y = -hh;
curr1.uv.set(u, 1);
<BUG>vertex(curr1);

if (i == 0)

continue;
triangle((short)base, (short)(vindex-1), (short)(vindex-2)); // FIXME don't duplicate lines and points
}</BUG>
ellipse(width, depth, 0, 0, divisions, 0, -hh, 0, 0, -1, 0, -1, 0, 0, 0, 0, 1, 180f-angleTo, 180f-angleFrom);

u = 1f - us * i;
curr1.position.set(MathUtils.cos(angle) * hw, 0f, MathUtils.sin(angle) * hd);
curr1.normal.set(curr1.position).nor();
curr1.position.y = -hh;
curr1.uv.set(u, 1);
i1 = vertex(curr1);
if (i != 0)
triangle(base, i1, i2); // FIXME don't duplicate lines and points
i2 = i1;
