Files
UnrealEngineUWP/Engine/Source/Developer/SimplygonUtilities/Private/SimplygonUtilities.cpp
Jurre deBaare 34036d7772 Merging using HLOD_from_Orion
[CL 2704241 by Jurre deBaare in Main branch]
2015-09-24 09:04:18 -04:00

45 lines
886 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "SimplygonUtilitiesPrivatePCH.h"
#include "SimplygonUtilitiesModule.h"
#include "RawMesh.h"
#include "MeshUtilities.h"
#include "MaterialExportUtils.h"
#define LOCTEXT_NAMESPACE "SimplygonUtilities"
IMPLEMENT_MODULE( FSimplygonUtilities, SimplygonUtilities )
void FSimplygonUtilities::StartupModule()
{
}
void FSimplygonUtilities::ShutdownModule()
{
}
FMeshMaterialReductionData::FMeshMaterialReductionData(FRawMesh* InMesh, bool InReleaseMesh)
: Mesh(InMesh)
, bReleaseMesh(InReleaseMesh)
{ }
FMeshMaterialReductionData::~FMeshMaterialReductionData()
{
if (bReleaseMesh)
{
delete Mesh;
}
}
FMeshMaterialReductionData* FSimplygonUtilities::CreateMeshReductionData(FRawMesh* InMesh, bool InReleaseMesh)
{
return new FMeshMaterialReductionData(InMesh, InReleaseMesh);
}
#undef LOCTEXT_NAMESPACE