Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h |
Include |
#include "Detour/DetourCommon.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Detour/DetourCommon.cpp |
bool dtOverlapPolyPoly2D
(
const float * polya,
const int npolya,
const float * polyb,
const int npolyb
)
Determines if the two convex polygons overlap on the xz-plane.
All vertices are projected onto the xz-plane, so the y-values are ignored.
True if the two polygons overlap.
Parameter |
Description |
---|---|
polya |
Polygon A vertices. [(x, y, z) * npolya] |
npolya |
The number of vertices in polygon A. |
polyb |
Polygon B vertices. [(x, y, z) * npolyb] |
npolyb |
The number of vertices in polygon B. |