Skip to content

Commit

Permalink
Merge pull request #39 from hexus/expose
Browse files Browse the repository at this point in the history
Exposed isSeparatingAxis() function
  • Loading branch information
jriecken authored Aug 8, 2016
2 parents e5c5d05 + 7c091ac commit 2160579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SAT.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@
T_ARRAYS.push(rangeB);
return false;
}
SAT['isSeparatingAxis'] = isSeparatingAxis;

// Calculates which Voronoi region a point is on a line segment.
// It is assumed that both the line and the point are relative to `(0,0)`
Expand Down

0 comments on commit 2160579

Please sign in to comment.