Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-28 11:42:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-28 11:42:48 +0400
commit7536bcbe7053ca182490e6d7e0b77232f04f59a6 (patch)
tree7fe0e7042eb3deeccf2bc76b35eebfeed27d80f6 /source/blender/bmesh/intern/bmesh_private.h
parent94f171f2c6515782a3e8955f5d0a14e57bb063e1 (diff)
Code Cleanup: bmesh
* remove unneeded struct's from headers. * give argument names for return ** pointers r_ prefix.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_private.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_private.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/source/blender/bmesh/intern/bmesh_private.h b/source/blender/bmesh/intern/bmesh_private.h
index c62a135bb4e..7147f20013b 100644
--- a/source/blender/bmesh/intern/bmesh_private.h
+++ b/source/blender/bmesh/intern/bmesh_private.h
@@ -36,9 +36,6 @@
* parts of the bmesh internals.
*/
-struct Link;
-struct BMLoop;
-
/* returns positive nonzero on error */
int bmesh_elem_check(BMesh *bm, void *element, const char htype);
@@ -56,11 +53,11 @@ int bmesh_elem_check(BMesh *bm, void *element, const char htype);
&((e)->v2_disk_link) \
)
-int bmesh_radial_length(struct BMLoop *l);
+int bmesh_radial_length(BMLoop *l);
int bmesh_disk_count(BMVert *v);
/* internal selection flushing */
-void bmesh_selectmode_flush(struct BMesh *bm);
+void bmesh_selectmode_flush(BMesh *bm);
/*internal filter API*/
void *bmesh_get_filter_callback(int type);
@@ -79,14 +76,14 @@ int bmesh_get_filter_argtype(int type);
/* newedgeflag sets a flag layer flag, obviously not the header flag. */
void BM_face_triangulate(BMesh *bm, BMFace *f, float (*projectverts)[3],
const short newedge_oflag, const short newface_oflag, BMFace **newfaces);
-void bmesh_face_normal_update(struct BMesh *bm, struct BMFace *f, float no[3],
+void bmesh_face_normal_update(BMesh *bm, BMFace *f, float no[3],
float (*projectverts)[3]);
-void bmesh_face_normal_update_vertex_cos(struct BMesh *bm, struct BMFace *f, float no[3],
+void bmesh_face_normal_update_vertex_cos(BMesh *bm, BMFace *f, float no[3],
float (*projectverts)[3], float (*vertexCos)[3]);
void compute_poly_plane(float (*verts)[3], int nverts);
void poly_rotate_plane(const float normal[3], float (*verts)[3], const int nverts);
-void bmesh_flip_normal(struct BMesh *bm, struct BMFace *f);
+void bmesh_flip_normal(BMesh *bm, BMFace *f);
BMEdge *bmesh_disk_next(BMEdge *e, BMVert *v);
BMEdge *bmesh_disk_prev(BMEdge *e, BMVert *v);