File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
api/src/main/java/net/thenextlvl/gopaint/api/math/curve
src/main/java/net/thenextlvl/gopaint/brush/standard Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323import org .jetbrains .annotations .Contract ;
2424
2525import java .util .Arrays ;
26- import java .util .LinkedList ;
26+ import java .util .List ;
2727import java .util .OptionalDouble ;
2828
2929@ Getter
@@ -33,7 +33,7 @@ public class BezierSpline {
3333 private final BezierSplineSegment [] segments ;
3434 private final double curveLength ;
3535
36- public BezierSpline (LinkedList <Vector > curve ) {
36+ public BezierSpline (List <Vector > curve ) {
3737 this .knots = curve .toArray (new Vector [0 ]);
3838 this .segments = new BezierSplineSegment [knots .length - 1 ];
3939 for (var segment = 0 ; segment < knots .length - 1 ; segment ++) {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public Component[] getDescription(Audience audience) {
5757 return provider .bundle ().components (audience , "brush.description.paint" );
5858 }
5959
60- private static final HashMap <UUID , List <Location >> selectedPoints = new HashMap <>();
60+ private static final Map <UUID , List <Location >> selectedPoints = new HashMap <>();
6161
6262 @ Override
6363 public void paint (Location target , Player player , BrushSettings brushSettings ) {
You can’t perform that action at this time.
0 commit comments