Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h |
Include |
#include "Detour/DetourCommon.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Detour/DetourCommon.cpp |
void dtCalcPolyCenter
(
float * tc,
const unsigned short * idx,
int nidx,
const float * verts
)
Derives the centroid of a convex polygon.
Parameter |
Description |
---|---|
tc |
The centroid of the polgyon. [(x, y, z)] |
idx |
The polygon indices. [(vertIndex) * nidx] |
nidx |
The number of indices in the polygon. [Limit: >= 3] |
verts |
The polygon vertices. [(x, y, z) * vertCount] |