From 601280cfa35dda1b9080024ef9ec93d482078113 Mon Sep 17 00:00:00 2001 From: yugecin Date: Mon, 5 Dec 2016 18:45:30 +0100 Subject: [PATCH] increase curve density for more beautiful sliders --- src/itdelatrisu/opsu/objects/curves/Curve.java | 2 +- src/itdelatrisu/opsu/render/CurveRenderState.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/itdelatrisu/opsu/objects/curves/Curve.java b/src/itdelatrisu/opsu/objects/curves/Curve.java index f357e7e3..bbe02eb7 100644 --- a/src/itdelatrisu/opsu/objects/curves/Curve.java +++ b/src/itdelatrisu/opsu/objects/curves/Curve.java @@ -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; diff --git a/src/itdelatrisu/opsu/render/CurveRenderState.java b/src/itdelatrisu/opsu/render/CurveRenderState.java index 8e0b94ab..f6e48cc2 100644 --- a/src/itdelatrisu/opsu/render/CurveRenderState.java +++ b/src/itdelatrisu/opsu/render/CurveRenderState.java @@ -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)