Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include |
#include "Math/UnrealMathUtility.h" |
Source |
/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
Computes the barycentric coordinates for a given point on a tetrahedron (3D)
Vector containing the four weights a,b,c,d such that Point = a*A + b*B + c*C + d*D
Parameter |
Description |
---|---|
Point |
point to convert to barycentric coordinates |
A, B, C, D |
four points defining a tetrahedron |