if (i == color.length - 1) {
setSolidColor(color[i]);
} else {
float percentColor = (1 / step) * (this.percent - (i * step));
ColorRGBA c = new ColorRGBA();
c.interpolate(color[i], color[i + 1], percentColor);
setSolidColor(c);
}
}
private void initTriMesh() {