Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-07-23 08:08:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-23 08:08:27 +0300
commit8155d25d395c30efd7724509afe2e50fb58c6d87 (patch)
treed00ff393c5f710d6f885b889892ed819b19166ec /source/blender/blenkernel/BKE_mesh_mapping.h
parent60822ec183a514f38f478ec3f3a167f59865f027 (diff)
Utility function to get poly -> looptri mapping
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_mapping.h')
-rw-r--r--source/blender/blenkernel/BKE_mesh_mapping.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_mapping.h b/source/blender/blenkernel/BKE_mesh_mapping.h
index 633bd8a2dba..c8a17008f5d 100644
--- a/source/blender/blenkernel/BKE_mesh_mapping.h
+++ b/source/blender/blenkernel/BKE_mesh_mapping.h
@@ -36,6 +36,7 @@ struct MEdge;
struct MPoly;
struct MLoop;
struct MLoopUV;
+struct MLoopTri;
/* map from uv vertex to face (for select linked, stitch, uv suburf) */
@@ -127,7 +128,10 @@ void BKE_mesh_origindex_map_create(
MeshElemMap **r_map, int **r_mem,
const int totorig,
const int *final_origindex, const int totfinal);
-
+void BKE_mesh_origindex_map_create_looptri(
+ MeshElemMap **r_map, int **r_mem,
+ const struct MPoly *mpoly, const int mpoly_num,
+ const struct MLoopTri *looptri, const int looptri_num);
/* islands */