Minor updates.
- Draw the playfield background in the song menu if a background cannot be drawn for the focused beatmap. - Added ScoreDB.deleteScore() method to delete a score from the database. - Added @author tags for curve-related classes (by fluddokt, #12). Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -20,6 +20,8 @@ package itdelatrisu.opsu.objects.curves;
|
||||
|
||||
/**
|
||||
* Representation of a Bezier curve with the distance between each point calculated.
|
||||
*
|
||||
* @author fluddokt (https://github.com/fluddokt)
|
||||
*/
|
||||
public class Bezier2 {
|
||||
/** The control points of the Bezier curve. */
|
||||
|
||||
@@ -29,6 +29,8 @@ import org.newdawn.slick.Image;
|
||||
/**
|
||||
* Representation of a curve along a Circumscribed Circle of three points.
|
||||
* http://en.wikipedia.org/wiki/Circumscribed_circle
|
||||
*
|
||||
* @author fluddokt (https://github.com/fluddokt)
|
||||
*/
|
||||
public class CircumscribedCircle extends Curve {
|
||||
/** PI constants. */
|
||||
|
||||
@@ -24,6 +24,8 @@ import org.newdawn.slick.Color;
|
||||
|
||||
/**
|
||||
* Representation of a curve.
|
||||
*
|
||||
* @author fluddokt (https://github.com/fluddokt)
|
||||
*/
|
||||
public abstract class Curve {
|
||||
/** The associated OsuHitObject. */
|
||||
|
||||
@@ -31,6 +31,8 @@ import org.newdawn.slick.Image;
|
||||
/**
|
||||
* Representation of a Bezier curve with equidistant points.
|
||||
* http://pomax.github.io/bezierinfo/#tracing
|
||||
*
|
||||
* @author fluddokt (https://github.com/fluddokt)
|
||||
*/
|
||||
public class LinearBezier extends Curve {
|
||||
/** The angles of the first and last control points for drawing. */
|
||||
|
||||
@@ -20,6 +20,8 @@ package itdelatrisu.opsu.objects.curves;
|
||||
|
||||
/**
|
||||
* A two-dimensional floating-point vector.
|
||||
*
|
||||
* @author fluddokt (https://github.com/fluddokt)
|
||||
*/
|
||||
public class Vec2f {
|
||||
/** Vector coordinates. */
|
||||
|
||||
Reference in New Issue
Block a user