build/litegraph.js
function isInsideBounding(p, bb) {
        if (
            p[0] < bb[0][0] ||
            p[1] < bb[0][1] ||
            p[0] > bb[1][0] ||
            p[1] > bb[1][1]
        ) {
            return false;
        }
        return true;
    }
function isInsideBounding(p, bb) {
        if (
            p[0] < bb[0][0] ||
            p[1] < bb[0][1] ||
            p[0] > bb[1][0] ||
            p[1] > bb[1][1]
        ) {
            return false;
        }
        return true;
    }
function isInsideBounding ( p , bb ) { if ( p [ 0 ] < bb [ 0 ] [ 0 ] || p [ 1 ] < bb [ 0 ] [ 1 ] || p [ 0 ] > bb [ 1 ] [ 0 ] || p [ 1 ] > bb [ 1 ] [ 1 ] ) { return false ; } return true ; }
point inside bounding box
point inside bounding box