diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-05-16 20:18:08 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-05-16 20:18:08 +0400 |
commit | 166c270f060e0ffadbc53c27afb112f294e7425e (patch) | |
tree | 75c12e8c7f45352eade8f3310ccf095caab62186 /source/blender/bmesh/bmesh_iterators.h | |
parent | 084aa7aedb33dbd86a98ac1e089933851ba2954b (diff) |
NOTE: do not test. work-in-progress commit with editmesh ripped out and replaced with bmesh. this is not usable by any means. for those who read through this, note the design is still fairly messy in places, and fyi BMTessMesh is the replacement for EditMesh, I need to rename it to BMEditMesh.
Diffstat (limited to 'source/blender/bmesh/bmesh_iterators.h')
-rw-r--r-- | source/blender/bmesh/bmesh_iterators.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source/blender/bmesh/bmesh_iterators.h b/source/blender/bmesh/bmesh_iterators.h index 1f4d46ac775..e49d952e2a1 100644 --- a/source/blender/bmesh/bmesh_iterators.h +++ b/source/blender/bmesh/bmesh_iterators.h @@ -27,14 +27,14 @@ #define BM_FACES_OF_MESH 3 /*these are topological iterators.*/ -#define BM_EDGES_OF_MESH_OF_VERT 4 -#define BM_FACES_OF_MESH_OF_VERT 5 -#define BM_FACES_OF_MESH_OF_EDGE 6 -#define BM_VERTS_OF_MESH_OF_FACE 7 -#define BM_FACEVERTS_OF_FACE 8 -#define BM_EDGES_OF_MESH_OF_FACE 9 +#define BM_EDGES_OF_VERT 4 +#define BM_FACES_OF_VERT 5 +#define BM_FACES_OF_EDGE 6 +#define BM_VERTS_OF_FACE 7 +#define BM_FACEVERTS_OF_FACE 8 +#define BM_EDGES_OF_FACE 9 #define BM_LOOPS_OF_FACE 10 -#define BM_LOOPS_OF_VERT 11 +#define BM_LOOPS_OF_VERT 11 /*iterate through loops around this loop, which are fetched from the other faces in the radial cycle surrounding the @@ -62,5 +62,6 @@ typedef struct BMIter{ void *BMIter_New(struct BMIter *iter, struct BMesh *bm, int type, void *data); void *BMIter_Step(struct BMIter *iter); +void *BMIter_AtIndex(struct BMesh *bm, int type, void *data, int index); #endif |