fix quadratic bezier aggressiveness

This commit is contained in:
yugecin 2016-12-11 14:16:35 +01:00
parent 366eda0310
commit 347705aadf

View File

@ -53,7 +53,7 @@ public class QuadraticBezierMover extends Mover {
double dist = Utils.distance(startX, startY, endX, endY);
p.x = (int) (startX + Math.cos(startAngle) * prevspeed);
p.y = (int) (startY + Math.sin(startAngle) * prevspeed);
prevspeed = (dist / totalTime) * Options.getQuadBezSliderAggressiveness();
prevspeed = (dist / totalTime) * Options.getQuadBezAggressiveness();
}
@Override