Navigation
API > API/Runtime > API/Runtime/Navmesh
Description
Derives the xz-plane 2D perp product of the two vectors. (uz*vx - ux*vz) The vectors are projected onto the xz-plane, so the y-values are ignored.
| Name | dtVperp2D |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h |
| Include Path | #include "Detour/DetourCommon.h" |
dtReal dtVperp2D
(
const dtReal * u,
const dtReal * v
)
The dot product on the xz-plane.
Parameters
| Name | Remarks |
|---|---|
| u | The LHV vector [(x, y, z)] |
| v | The RHV vector [(x, y, z)] |