Lines Matching refs:inter
470 let inter = this.intersect(it, pieRect); variable
471 if (inter.direction === 'Right') {
472 pieRect.x += inter.crossW;
473 } else if (inter.direction === 'Bottom') {
474 pieRect.y += inter.crossH;
475 } else if (inter.direction === 'Left') {
476 pieRect.x -= inter.crossW;
477 } else if (inter.direction === 'Top') {
478 pieRect.y -= inter.crossH;
479 } else if (inter.direction === 'Right-Top') {
480 pieRect.y -= inter.crossH;
481 } else if (inter.direction === 'Right-Bottom') {
482 pieRect.y += inter.crossH;
483 } else if (inter.direction === 'Left-Top') {
484 pieRect.y -= inter.crossH;
485 } else if (inter.direction === 'Left-Bottom') {
486 pieRect.y += inter.crossH;