diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-02 07:16:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-02 07:16:06 +0400 |
commit | 0cff8e6c9c8b2ac95d9f4dd9fd8410c682824cf2 (patch) | |
tree | 54d1ce729a08d9bbee7d1bddccbf3b448f28cdd2 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | 1936b31cd0f7741ec39f638cc57286e5b379134c (diff) |
move editmesh derived mesh functions into their own file to match bmesh, without this all merges in this area have to be done manually.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index 3e4868fb8b9..429d5e84785 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -564,6 +564,16 @@ typedef struct DMVertexAttribs { int tottface, totmcol, tottang, totorco; } DMVertexAttribs; +/* should be local, bmesh replaces this */ +typedef struct { + DerivedMesh dm; + + struct EditMesh *em; + float (*vertexCos)[3]; + float (*vertexNos)[3]; + float (*faceNos)[3]; +} EditMeshDerivedMesh; + void DM_vertex_attributes_from_gpu(DerivedMesh *dm, struct GPUVertexAttribs *gattribs, DMVertexAttribs *attribs); |