Got rid of as many warnings as possible.

This commit is contained in:
Quinn
2023-04-05 23:31:35 -05:00
parent 1dcd5b3614
commit dea6794c05
4 changed files with 8 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ import java.util.ArrayList;
import static processing.core.PApplet.pow;
public class SLAM{
ArrayList<PVector> points = new ArrayList<PVector>();
ArrayList<PVector> points = new ArrayList<>();
private static PApplet proc;
SLAM(PApplet processing){
@@ -33,7 +33,7 @@ class Line{
}
/**
* @brief attempt to find the line of best fit for the given points
* attempt to find the line of best fit for the given points
* @param points the points to get the line of best for
*/
Line(PApplet processing, ArrayList<PVector> points){