Polygon collision detection system base on AABB