Skip to content

Commit a9cfbd2

Browse files
authored
Fix spacing
Git automatically removed the tabs.
1 parent 66edc56 commit a9cfbd2

File tree

1 file changed

+5
-5
lines changed
  • src/main/java/de/bluecolored/bluemap/api/marker

1 file changed

+5
-5
lines changed

src/main/java/de/bluecolored/bluemap/api/marker/Shape.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static Shape createRect(Vector2d pos1, Vector2d pos2) {
123123
public static Shape createRect(double x1, double y1, double x2, double y2) {
124124
return createRect(new Vector2d(x1, y1), new Vector2d(x2, y2));
125125
}
126-
126+
127127
/**
128128
* Creates a {@link Shape} representing an ellipse.
129129
* @param centerPos the center of the ellipse
@@ -134,18 +134,18 @@ public static Shape createRect(double x1, double y1, double x2, double y2) {
134134
*/
135135
public static Shape createEllipse(Vector2d centerPos, double radiusX, double radiusY, int points) {
136136
if (points < 3) throw new IllegalArgumentException("A shape has to have at least 3 points!");
137-
137+
138138
Vector2d[] pointArray = new Vector2d[points];
139139
double segmentAngle = 2 * Math.PI / points;
140140
double angle = 0d;
141141
for (int i = 0; i < points; i++) {
142142
pointArray[i] = centerPos.add(Math.sin(angle) * radiusX, Math.cos(angle) * radiusY);
143143
angle += segmentAngle;
144144
}
145-
145+
146146
return new Shape(pointArray);
147147
}
148-
148+
149149
/**
150150
* Creates a {@link Shape} representing an ellipse.
151151
* @param centerX the x-position of the center of the ellipse
@@ -158,7 +158,7 @@ public static Shape createEllipse(Vector2d centerPos, double radiusX, double rad
158158
public static Shape createEllipse(double centerX, double centerY, double radiusX, double radiusY, int points) {
159159
return createEllipse(new Vector2d(centerX, centerY), radiusX, radiusY, points);
160160
}
161-
161+
162162
/**
163163
* Creates a {@link Shape} representing a circle.
164164
* @param centerPos the center of the circle

0 commit comments

Comments
 (0)