From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Misc/MeshWelding.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Runtime/Misc/MeshWelding.h (limited to 'Runtime/Misc/MeshWelding.h') 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& vertices, Mesh::BoneInfluenceContainer& skin, dynamic_array& triangles, dynamic_array& remap); +bool EXPORT_COREMODULE WeldVertexArray(dynamic_array& vertices, dynamic_array& triangles, dynamic_array& remap); + + +#endif // UNITY_CUSTOM_ALLOCATOR_H_ -- cgit v1.1-26-g67d0