Skip to content

Commit

Permalink
Resolve issue #2. Stay tuned for 1.4 binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
JaciBrunning committed Apr 5, 2016
1 parent 7b11a69 commit 8072fa7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pathfinder-Core/src/modifiers/tank.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void pathfinder_modify_tank(Segment *original, int length, Segment *left_traj, S
left.y = seg.y + (w * cos_angle);

if (i > 0) {
Segment last = original[i - 1];
Segment last = left_traj[i - 1];
double distance = sqrt(
(left.x - last.x) * (left.x - last.x)
+ (left.y - last.y) * (left.y - last.y)
Expand All @@ -32,7 +32,7 @@ void pathfinder_modify_tank(Segment *original, int length, Segment *left_traj, S
right.y = seg.y - (w * cos_angle);

if (i > 0) {
Segment last = original[i - 1];
Segment last = right_traj[i - 1];
double distance = sqrt(
(right.x - last.x) * (right.x - last.x)
+ (right.y - last.y) * (right.y - last.y)
Expand Down
Binary file not shown.
Binary file modified Pathfinder-Java/src/main/resources/Win/amd64/pathfinderjava.dll
Binary file not shown.
Binary file modified Pathfinder-Java/src/main/resources/Win/x86/pathfinderjava.dll
Binary file not shown.

0 comments on commit 8072fa7

Please sign in to comment.