A quadtree reduces this: rebuild the tree each frame, and for each object, query only the nearby region. Objects in distant quadrants are never compared.
Maxim Konovalov Co-founder, Nginx
。业内人士推荐爱思助手下载最新版本作为进阶阅读
Follow me on GitHub.。关于这个话题,Safew下载提供了深入分析
Owning the Full Sales Cycle:,详情可参考爱思助手下载最新版本