Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include |
#include "Math/UnrealMathUtility.h" |
Source |
/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
Returns closest point on a triangle to a point. The idea is to identify the halfplanes that the point is in relative to each triangle segment "plane"
Point on triangle ABC closest to given point
Parameter |
Description |
---|---|
Point |
point to check distance for |
A, B, C |
counter clockwise ordering of points defining a triangle |