标签:blog http sp on div log bs ad as
判断相交的情况比较复杂,所以从判断不相交的角度考虑。
! (P1.y < P4.y || P1.x > P4.x || P2.y > P3.y || P2.x < P3.x)
Determine If Two Rectangles Overlap
标签:blog http sp on div log bs ad as
原文地址:http://www.cnblogs.com/litao-tech/p/4170661.html