Skip to content

Commit e58ce68

Browse files
author
github-actions
committed
style: apply google format
1 parent 601f0ee commit e58ce68

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

src/org/openpatch/scratch/Operators.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public static final int constrain(int amt, int low, int high) {
3939

4040
/**
4141
* Determines the smallest value in a sequence of numbers, and then returns that value.
42-
* <b>min()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or an
43-
* array of any length.
42+
* <b>min()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or
43+
* an array of any length.
4444
*
4545
* @param v values
4646
* @return the minimum
@@ -57,8 +57,8 @@ public static final double min(double... v) {
5757

5858
/**
5959
* Determines the largest value in a sequence of numbers, and then returns that value.
60-
* <b>max()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or an
61-
* array of any length.
60+
* <b>max()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or
61+
* an array of any length.
6262
*
6363
* @param v values
6464
* @return the maximum
@@ -75,8 +75,8 @@ public static final double max(double... v) {
7575

7676
/**
7777
* Determines the smallest value in a sequence of numbers, and then returns that value.
78-
* <b>min()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or an
79-
* array of any length.
78+
* <b>min()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or
79+
* an array of any length.
8080
*
8181
* @param v values
8282
* @return the minimum
@@ -93,8 +93,8 @@ public static final int min(int... v) {
9393

9494
/**
9595
* Determines the largest value in a sequence of numbers, and then returns that value.
96-
* <b>max()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or an
97-
* array of any length.
96+
* <b>max()</b> accepts either two or three <b>double</b> or <b>int</b> values as parameters, or
97+
* an array of any length.
9898
*
9999
* @param v values
100100
* @return the maximum

src/org/openpatch/scratch/extensions/hitbox/Hitbox.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ public Shape getShape() {
3030
}
3131

3232
public void translateAndRotateAndResize(
33-
double degrees, double originX, double originY, double translateX, double translateY, double size) {
33+
double degrees,
34+
double originX,
35+
double originY,
36+
double translateX,
37+
double translateY,
38+
double size) {
3439

3540
AffineTransform tx = new AffineTransform();
3641
tx.scale(size / 100.0, size / 100.0);

src/org/openpatch/scratch/internal/Color.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.openpatch.scratch.internal;
22

3-
43
public class Color {
54

65
private double r = 255;

0 commit comments

Comments
 (0)