~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/blenkernel/BKE_cdderivedmesh.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 * data to not overwrite the original */
56
56
struct DerivedMesh *CDDM_from_mesh(struct Mesh *mesh, struct Object *ob);
57
57
 
 
58
struct DerivedMesh *CDDM_from_bmesh(struct BMesh *bm, int use_mdisps);
 
59
 
58
60
/* creates a CDDerivedMesh from the given BMEditMesh */
59
 
DerivedMesh *CDDM_from_BMEditMesh(struct BMEditMesh *em, struct Mesh *me, int use_mdisps, int use_tessface);
 
61
DerivedMesh *CDDM_from_editbmesh(struct BMEditMesh *em, int use_mdisps, int use_tessface);
60
62
 
61
63
/* merge verts  */
62
64
DerivedMesh *CDDM_merge_verts(DerivedMesh *dm, const int *vtargetmap);
66
68
 
67
69
/* creates a CDDerivedMesh from the given curve object and specified dispbase */
68
70
/* useful for OrcoDM creation for curves with constructive modifiers */
69
 
DerivedMesh *CDDM_from_curve_customDB(struct Object *ob, struct ListBase *dispbase);
 
71
DerivedMesh *CDDM_from_curve_displist(struct Object *ob, struct ListBase *dispbase);
70
72
 
71
73
/* Copies the given DerivedMesh with verts, faces & edges stored as
72
74
 * custom element data.
79
81
 * elements are initialized to all zeros
80
82
 */
81
83
struct DerivedMesh *CDDM_from_template(struct DerivedMesh *source,
82
 
                                  int numVerts, int numEdges, int numFaces,
83
 
                                  int numLoops, int numPolys);
 
84
                                       int numVerts, int numEdges, int numFaces,
 
85
                                       int numLoops, int numPolys);
84
86
 
85
 
/*converts mfaces to mpolys.  note things may break if there are not valid
86
 
 *medges surrounding each mface.
 
87
/* converts mfaces to mpolys.  note things may break if there are not valid
 
88
 * medges surrounding each mface.
87
89
 */
88
90
void CDDM_tessfaces_to_faces(struct DerivedMesh *dm);
89
91