int i = 0;
while (true) {
double t = (double) segment / (double) segments;
double width = MathUtil.interpolate(baseWidth, tipWidth, t);
strand.vertices[i++] = pos.plus(basis.toStandard(-0.5 * width * co, -0.5 * width * so, 0.0));
strand.vertices[i++] = pos.plus(basis.toStandard(0.5 * width * co, 0.5 * width * so, 0.0));
if (++segment > segments) {
break;
}