Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiae committed Jun 21, 2018
1 parent 3c2dd46 commit d04f916
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/PurePursuit.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ public void keyPressed() {
@Override
public void mousePressed() {
// Add a new path point
if (mouseButton == RIGHT) {
path.add(new float[]{mouseX, mouseY});
}
if (mouseButton == RIGHT) path.add(new float[]{mouseX, mouseY});
}
}

0 comments on commit d04f916

Please sign in to comment.