Skip to content

Commit

Permalink
make intersectRects public
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Aug 16, 2015
1 parent 2d0993e commit 7a86254
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ function isPrimaryMouseButton(ev) {
/* Geometry
----------------------------------------------------------------------------------------------------------------------*/

fc.intersectRects = intersectRects;

// Returns a new rectangle that is the intersection of the two rectangles. If they don't intersect, returns false
function intersectRects(rect1, rect2) {
Expand Down

0 comments on commit 7a86254

Please sign in to comment.