increase curve density for more beautiful sliders
This commit is contained in:
parent
5cd9515d87
commit
601280cfa3
|
@ -39,7 +39,7 @@ import org.newdawn.slick.util.Log;
|
||||||
*/
|
*/
|
||||||
public abstract class Curve {
|
public abstract class Curve {
|
||||||
/** Points generated along the curve should be spaced this far apart. */
|
/** 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. */
|
/** The curve border color. */
|
||||||
private static Color borderColor;
|
private static Color borderColor;
|
||||||
|
|
|
@ -380,7 +380,7 @@ public class CurveRenderState {
|
||||||
* Used for new style Slider rendering, defines how many vertices the
|
* Used for new style Slider rendering, defines how many vertices the
|
||||||
* base of the cone has that is used to draw the curve.
|
* 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)
|
* Array to hold the dummy vertex data (texture coordinates and position)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user