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 22:28:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-28 22:28:30 +0400
commitd1d11bbe9bc73f8578dbd138d079dc6488b5920d (patch)
tree09e60c6006fa5f0fdef22d7027f75b6a3a2079af /source/blender/bmesh/intern/bmesh_core.h
parentdf0f0c63d32b3819bab625f72d62e1fcf6d5ced5 (diff)
more header re-arranging.
Some function comments were in headers, some in the C files, some in both. Moved function comments from headers into the C files.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_core.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_core.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_core.h b/source/blender/bmesh/intern/bmesh_core.h
new file mode 100644
index 00000000000..d3afe1955c0
--- /dev/null
+++ b/source/blender/bmesh/intern/bmesh_core.h
@@ -0,0 +1,62 @@
+/*
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Contributor(s): Joseph Eagar.
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ */
+
+#ifndef __BMESH_CORE_H__
+#define __BMESH_CORE_H__
+
+/** \file blender/bmesh/intern/bmesh_core.h
+ * \ingroup bmesh
+ */
+
+BMFace *BM_face_copy(BMesh *bm, BMFace *f, const short copyverts, const short copyedges);
+
+BMVert *BM_vert_create(BMesh *bm, const float co[3], const BMVert *example);
+BMEdge *BM_edge_create(BMesh *bm, BMVert *v1, BMVert *v2, const BMEdge *example, int nodouble);
+BMFace *BM_face_create(BMesh *bm, BMVert **verts, BMEdge **edges, const int len, int nodouble);
+
+void BM_face_edges_kill(BMesh *bm, BMFace *f);
+void BM_face_verts_kill(BMesh *bm, BMFace *f);
+
+void BM_loop_kill(BMesh *bm, BMLoop *l);
+void BM_face_kill(BMesh *bm, BMFace *f);
+void BM_edge_kill(BMesh *bm, BMEdge *e);
+void BM_vert_kill(BMesh *bm, BMVert *v);
+
+int bmesh_loop_reverse(BMesh *bm, BMFace *f);
+
+BMFace *BM_faces_join(BMesh *bm, BMFace **faces, int totface);
+
+/* EULER API - For modifying structure */
+BMFace *bmesh_sfme(BMesh *bm, BMFace *f, BMVert *v1,
+ BMVert *v2, BMLoop **r_l,
+#ifdef USE_BMESH_HOLES
+ ListBase *holes,
+#endif
+ BMEdge *example
+ );
+
+BMVert *bmesh_semv(BMesh *bm, BMVert *tv, BMEdge *e, BMEdge **r_e);
+BMEdge *bmesh_jekv(BMesh *bm, BMEdge *ke, BMVert *kv, const short check_edge_splice);
+BMFace *bmesh_jfke(BMesh *bm, BMFace *f1, BMFace *f2, BMEdge *e);
+BMVert *bmesh_urmv(BMesh *bm, BMFace *sf, BMVert *sv);
+
+#endif /* __BMESH_CORE_H__ */