Document
这是我的代码,问题是只要重叠,就一直不停的添加新的块儿。。
怎么破???
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
if(t1<=b2&&b1>=t2&&l1<=r2&&r1>=l2){...}
这句有问题吧
if(t1<=t2&&b1>=b2&&l1<=l2&&r1>=r2)