23 #define STD_UV_CONNECT_LIMIT 0.0001f
80 const struct MLoop *mloop,
97 const struct MPoly *mpoly,
98 const struct MLoop *mloop,
109 const struct MPoly *mpoly,
110 const struct MLoop *mloop,
121 const struct MVert *mvert,
125 const struct MLoop *mloop,
133 MeshElemMap **r_map,
int **r_mem,
const struct MEdge *medge,
int totvert,
int totedge);
139 MeshElemMap **r_map,
int **r_mem,
const struct MEdge *medge,
int totvert,
int totedge);
147 const struct MEdge *medge,
149 const struct MPoly *mpoly,
151 const struct MLoop *mloop,
160 const struct MEdge *medge,
162 const struct MPoly *mpoly,
164 const struct MLoop *mloop,
181 MeshElemMap **r_map,
int **r_mem,
int totsource,
const int *final_origindex,
int totfinal);
188 const struct MPoly *mpoly,
224 short innercut_type);
229 const int *items_indices,
230 int num_island_items,
231 int *island_item_indices,
232 int num_innercut_items,
233 int *innercut_item_indices);
296 const struct MPoly *mpoly,
298 const struct MLoop *mloop,
304 #define BKE_MESH_TESSTRI_VINDEX_ORDER(_tri, _v) \
306 _tri, unsigned int *, int *, int[3], const unsigned int *, const int *, const int[3]), \
307 CHECK_TYPE_ANY(_v, unsigned int, const unsigned int, int, const int)), \
308 (((_tri)[0] == _v) ? 0 : \
309 ((_tri)[1] == _v) ? 1 : \
310 ((_tri)[2] == _v) ? 2 : \
void BKE_mesh_vert_edge_vert_map_create(MeshElemMap **r_map, int **r_mem, const struct MEdge *medge, int totvert, int totedge)
UvMapVert * BKE_mesh_uv_vert_map_get_vert(UvVertMap *vmap, unsigned int v)
void BKE_mesh_loop_islands_init(MeshIslandStore *island_store, short item_type, int items_num, short island_type, short innercut_type)
struct MeshElemMap MeshElemMap
struct UvVertMap UvVertMap
int * BKE_mesh_calc_smoothgroups(const struct MEdge *medge, int totedge, const struct MPoly *mpoly, int totpoly, const struct MLoop *mloop, int totloop, int *r_totgroup, bool use_bitflags)
void BKE_mesh_loop_islands_add(MeshIslandStore *island_store, int item_num, const int *items_indices, int num_island_items, int *island_item_indices, int num_innercut_items, int *innercut_item_indices)
void BKE_mesh_vert_loop_map_create(MeshElemMap **r_map, int **r_mem, const struct MPoly *mpoly, const struct MLoop *mloop, int totvert, int totpoly, int totloop)
struct UvElement UvElement
void BKE_mesh_vert_poly_map_create(MeshElemMap **r_map, int **r_mem, const struct MPoly *mpoly, const struct MLoop *mloop, int totvert, int totpoly, int totloop)
UvVertMap * BKE_mesh_uv_vert_map_create(const struct MPoly *mpoly, const struct MLoop *mloop, const struct MLoopUV *mloopuv, unsigned int totpoly, unsigned int totvert, const float limit[2], bool selected, bool use_winding)
void BKE_mesh_vert_looptri_map_create(MeshElemMap **r_map, int **r_mem, const struct MVert *mvert, int totvert, const struct MLoopTri *mlooptri, int totlooptri, const struct MLoop *mloop, int totloop)
void BKE_mesh_origindex_map_create(MeshElemMap **r_map, int **r_mem, int totsource, const int *final_origindex, int totfinal)
void BKE_mesh_loop_islands_clear(MeshIslandStore *island_store)
struct UvMapVert UvMapVert
void BKE_mesh_uv_vert_map_free(UvVertMap *vmap)
struct UvElementMap UvElementMap
struct MeshIslandStore MeshIslandStore
void BKE_mesh_vert_edge_map_create(MeshElemMap **r_map, int **r_mem, const struct MEdge *medge, int totvert, int totedge)
void BKE_mesh_edge_loop_map_create(MeshElemMap **r_map, int **r_mem, const struct MEdge *medge, int totedge, const struct MPoly *mpoly, int totpoly, const struct MLoop *mloop, int totloop)
bool(* MeshRemapIslandsCalc)(struct MVert *verts, int totvert, struct MEdge *edges, int totedge, struct MPoly *polys, int totpoly, struct MLoop *loops, int totloop, struct MeshIslandStore *r_island_store)
bool BKE_mesh_calc_islands_loop_poly_edgeseam(struct MVert *verts, int totvert, struct MEdge *edges, int totedge, struct MPoly *polys, int totpoly, struct MLoop *loops, int totloop, MeshIslandStore *r_island_store)
void BKE_mesh_origindex_map_create_looptri(MeshElemMap **r_map, int **r_mem, const struct MPoly *mpoly, int mpoly_num, const struct MLoopTri *looptri, int looptri_num)
void BKE_mesh_loop_islands_free(MeshIslandStore *island_store)
void BKE_mesh_edge_poly_map_create(MeshElemMap **r_map, int **r_mem, const struct MEdge *medge, int totedge, const struct MPoly *mpoly, int totpoly, const struct MLoop *mloop, int totloop)
bool BKE_mesh_calc_islands_loop_poly_uvmap(struct MVert *verts, int totvert, struct MEdge *edges, int totedge, struct MPoly *polys, int totpoly, struct MLoop *loops, int totloop, const struct MLoopUV *luvs, MeshIslandStore *r_island_store)
ATTR_WARN_UNUSED_RESULT const BMVert * v
struct MeshElemMap ** innercuts
struct MeshElemMap ** islands
unsigned short loop_of_poly_index
unsigned short loop_of_poly_index