implementation of Polygon and OBB structures for collisions + SAT-based polygon collision test