From 1159c606f7973d0376181acb66c8017f3d66b424 Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Fri, 20 Mar 2015 00:39:26 -0400 Subject: [PATCH] Updating to version 0.8.0. Signed-off-by: Jeffrey Han --- pom.xml | 2 +- src/itdelatrisu/opsu/objects/curves/LinearBezier.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index d378cac8..796fce56 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 itdelatrisu opsu - 0.7.0 + 0.8.0 ${maven.build.timestamp} yyyy-MM-dd HH:mm diff --git a/src/itdelatrisu/opsu/objects/curves/LinearBezier.java b/src/itdelatrisu/opsu/objects/curves/LinearBezier.java index acb30416..21e3b82c 100644 --- a/src/itdelatrisu/opsu/objects/curves/LinearBezier.java +++ b/src/itdelatrisu/opsu/objects/curves/LinearBezier.java @@ -127,7 +127,7 @@ public class LinearBezier extends Curve { } else curve[i] = thisCurve; } - + // if (hitObject.getRepeatCount() > 1) { Vec2f c1 = curve[0]; int cnt = 1; @@ -135,11 +135,11 @@ public class LinearBezier extends Curve { while (cnt <= ncurve && c2.cpy().sub(c1).len() < 1) c2 = curve[cnt++]; this.startAngle = (float) (Math.atan2(c2.y - c1.y, c2.x - c1.x) * 180 / Math.PI); - + c1 = curve[ncurve]; cnt = ncurve - 1; c2 = curve[cnt--]; - while (cnt >= 0 && c2.cpy().sub(c1).len() < 1) + while (cnt >= 0 && c2.cpy().sub(c1).len() < 1) c2 = curve[cnt--]; this.endAngle = (float) (Math.atan2(c2.y - c1.y, c2.x - c1.x) * 180 / Math.PI); // }