Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Util
Warnings * result is garbage if either vertex is not an edge in TriangleVerts
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Util/IndexUtil.h |
| Include | #include "Util/IndexUtil.h" |
namespace IndexUtil
{
template<typename T, typename Vec>
bool IndexUtil::OrientTriEdge
(
T & Vertex1,
T & Vertex2,
const Vec & TriangleVerts
)
}
Remarks
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 true if order was swapped