Automatically create a manifold from given Wonderland Engine meshes. Note
that this method has issues with singularities and edges shared by more
than 2 triangles, since this is a vertex distance method instead of
better methods such as cutting and stitching.
Returns
Returns a tuple containing the submesh map, and a manifold. If genSubmeshMap is false, then the submesh map will be null.
Parameters
wleMeshes: Mesh | Mesh[]
A Wonderland Engine mesh, or a list of Wonderland Engine meshes, to convert to a manifold
Automatically create a manifold from given Wonderland Engine meshes. Note that this method has issues with singularities and edges shared by more than 2 triangles, since this is a vertex distance method instead of better methods such as cutting and stitching.
Returns
Returns a tuple containing the submesh map, and a manifold. If genSubmeshMap is false, then the submesh map will be null.