diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-22 13:54:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-22 14:40:41 +0300 |
commit | b305041ce6779f90a282283ff04bd36f1807c728 (patch) | |
tree | 82a2b9b6f192801768abb8579295345baa5c3f51 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | a6f00bb75ca8ec22f66a47782ffa2b827bb0f8e9 (diff) |
Add DM_get_looptri_array utility function
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index 2c74815a494..369bd51856a 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -800,5 +800,11 @@ struct MEdge *DM_get_edge_array(struct DerivedMesh *dm, bool *allocated); struct MLoop *DM_get_loop_array(struct DerivedMesh *dm, bool *allocated); struct MPoly *DM_get_poly_array(struct DerivedMesh *dm, bool *allocated); struct MFace *DM_get_tessface_array(struct DerivedMesh *dm, bool *allocated); +const MLoopTri *DM_get_looptri_array( + DerivedMesh *dm, + const MVert *mvert, + const MPoly *mpoly, int mpoly_len, + const MLoop *mloop, int mloop_len, + bool *allocated); #endif /* __BKE_DERIVEDMESH_H__ */ |