dust3d/src/meshutil.h

21 lines
819 B
C
Raw Normal View History

2018-04-08 08:05:12 +00:00
#ifndef MESH_UTIL_H
#define MESH_UTIL_H
#include <vector>
#include <set>
2018-03-30 14:05:47 +00:00
int mergeMeshs(void *meshliteContext, const std::vector<int> &meshIds);
int unionMeshs(void *meshliteContext, const std::vector<int> &meshIds, const std::set<int> &inverseIds, int *errorCount=0);
int subdivMesh(void *meshliteContext, int meshId, int *errorCount=0);
2018-04-15 15:15:29 +00:00
int fixMeshHoles(void *meshliteContext, int meshId);
void initMeshUtils();
void *convertToCombinableMesh(void *meshliteContext, int meshId);
void *unionCombinableMeshs(void *first, void *second);
void *diffCombinableMeshs(void *first, void *second);
int convertFromCombinableMesh(void *meshliteContext, void *mesh);
void deleteCombinableMesh(void *mesh);
void *cloneCombinableMesh(void *mesh);
void *convertToCombinableConvexHullMesh(void *meshliteContext, int meshId);
#endif