diff options
Diffstat (limited to 'Runtime/Misc/MeshWelding.h')
-rw-r--r-- | Runtime/Misc/MeshWelding.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Runtime/Misc/MeshWelding.h b/Runtime/Misc/MeshWelding.h new file mode 100644 index 0000000..10539c2 --- /dev/null +++ b/Runtime/Misc/MeshWelding.h @@ -0,0 +1,17 @@ +#ifndef MESH_WELDING_H_ +#define MESH_WELDING_H_ + +#include "Runtime/Filters/Mesh/LodMesh.h" +#include "Runtime/Modules/ExportModules.h" + +#if UNITY_EDITOR +#include "Editor/Src/AssetPipeline/ImportMesh.h" + +void WeldVertices (ImportMesh& mesh); +#endif + +bool EXPORT_COREMODULE WeldVertexArray(dynamic_array<Vector3f>& vertices, Mesh::BoneInfluenceContainer& skin, dynamic_array<UInt16>& triangles, dynamic_array<UInt16>& remap); +bool EXPORT_COREMODULE WeldVertexArray(dynamic_array<Vector3f>& vertices, dynamic_array<UInt16>& triangles, dynamic_array<UInt16>& remap); + + +#endif // UNITY_CUSTOM_ALLOCATOR_H_ |