From a4279d86918c0ec47300b00df2a3fd06e77aab30 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 18 Jan 2020 21:35:12 -0500 Subject: rectintersect typo for embarassingly long time --- utils/rectintersect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/rectintersect.js b/utils/rectintersect.js index bd2c479..9aaa38a 100644 --- a/utils/rectintersect.js +++ b/utils/rectintersect.js @@ -4,6 +4,6 @@ module.exports = function(one, two){ // Rectangles defined by min/max pairs of y if ( one[0][0] > two[1][0] || two[0][0] > one[1][0] || one[0][1] > two[1][1] || - two[0][1] > two[1][1] ) return false; + two[0][1] > one[1][1] ) return false; return true; } -- cgit