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 dtClosestHeightPointTriangle
(
const float * p,
const float * a,
const float * b,
const float * c,
float & h
)
Derives the y-axis height of the closest point on the triangle from the specified reference point.
Parameter |
Description |
---|---|
p |
The reference point from which to test. [(x, y, z)] |
a |
Vertex A of triangle ABC. [(x, y, z)] |
b |
Vertex B of triangle ABC. [(x, y, z)] |
c |
Vertex C of triangle ABC. [(x, y, z)] |
h |
The resulting height. |