Navigation
API > API/Runtime > API/Runtime/GeometryCore
Warnings * result is garbage if either vertex is not an edge in TriangleVerts
Description
Assuming [Vertex1,Vertex2] is an unordered edge in TriangleVerts, return Vertex1 and Vertex2 in the correct order (ie the same as TriangleVerts)
result is garbage if either vertex is not an edge in TriangleVerts
| Name | IndexUtil::OrientTriEdge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Util/IndexUtil.h |
| Include Path | #include "Util/IndexUtil.h" |
namespace IndexUtil
{
template<typename T, typename Vec>
bool IndexUtil::OrientTriEdge
(
T & Vertex1,
T & Vertex2,
const Vec & TriangleVerts
)
}
true if order was swapped