move editmesh derived mesh functions into their own file to match bmesh, without...
[blender-staging.git] / source / blender / blenkernel / BKE_DerivedMesh.h
index 3e4868fb8b99d4e0db000b24d747e73917299c3e..429d5e84785ec215c532126ed75427b4f4b8b0eb 100644 (file)
@@ -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);