increase curve density for more beautiful sliders

This commit is contained in:
yugecin 2016-12-05 18:45:30 +01:00
parent 5cd9515d87
commit 601280cfa3
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ import org.newdawn.slick.util.Log;
*/
public abstract class Curve {
/** Points generated along the curve should be spaced this far apart. */
protected static float CURVE_POINTS_SEPERATION = 5;
protected static float CURVE_POINTS_SEPERATION = 2.5f;
/** The curve border color. */
private static Color borderColor;

View File

@ -380,7 +380,7 @@ public class CurveRenderState {
* Used for new style Slider rendering, defines how many vertices the
* base of the cone has that is used to draw the curve.
*/
protected static final int DIVIDES = 30;
protected static final int DIVIDES = 60;
/**
* Array to hold the dummy vertex data (texture coordinates and position)