Tests if two convex polygons overlap in 2D (XZ plane). Uses the separating axis theorem - matches the C++ dtOverlapPolyPoly2D implementation. All vertices are projected onto the xz-plane, so the y-values are ignored.
Vertices of the first polygon [x,y,z,x,y,z,...]
Number of vertices in the first polygon
Vertices of the second polygon [x,y,z,x,y,z,...]
Number of vertices in the second polygon
True if the polygons overlap
Tests if two convex polygons overlap in 2D (XZ plane). Uses the separating axis theorem - matches the C++ dtOverlapPolyPoly2D implementation. All vertices are projected onto the xz-plane, so the y-values are ignored.