You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #rnx #jira none #preflight 60c52c5db9446100014da02d #ROBOMERGE-SOURCE: CL 16653115 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396) [CL 16653121 by ryan schmidt in ue5-release-engine-test branch]
34 lines
655 B
C++
34 lines
655 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "DynamicMesh/DynamicMesh3.h"
|
|
|
|
using UE::Geometry::FDynamicMesh3;
|
|
|
|
class FFindPolygonsAlgorithm
|
|
{
|
|
public:
|
|
|
|
FFindPolygonsAlgorithm() {}
|
|
FFindPolygonsAlgorithm(FDynamicMesh3* MeshIn);
|
|
|
|
FDynamicMesh3* Mesh = nullptr;
|
|
TArray<TArray<int>> FoundPolygons;
|
|
TArray<int> PolygonTags;
|
|
TArray<FVector3d> PolygonNormals;
|
|
|
|
TArray<int> PolygonEdges;
|
|
|
|
bool FindPolygonsFromFaceNormals(double DotTolerance = 0.0001);
|
|
bool FindPolygonsFromUVIslands();
|
|
bool FindPolygonsFromConnectedTris();
|
|
|
|
bool FindPolygonEdges();
|
|
|
|
|
|
protected:
|
|
|
|
void SetGroupsFromPolygons();
|
|
}; |