From e9caa218306896b0c14c57bbf1993e17111e00bb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 17 Aug 2012 14:43:20 +0000 Subject: fix own error in recent smoothview cleanup, also correct some cross references in bmesh docs. --- source/blender/bmesh/intern/bmesh_core.c | 2 +- source/blender/bmesh/intern/bmesh_marking.c | 6 +++--- source/blender/bmesh/intern/bmesh_mods.c | 3 ++- source/blender/bmesh/intern/bmesh_polygon.c | 3 ++- source/blender/bmesh/intern/bmesh_queries.c | 3 +-- 5 files changed, 9 insertions(+), 8 deletions(-) (limited to 'source/blender/bmesh') diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c index 188d35c6829..8c8cc216e96 100644 --- a/source/blender/bmesh/intern/bmesh_core.c +++ b/source/blender/bmesh/intern/bmesh_core.c @@ -1946,7 +1946,7 @@ int bmesh_vert_separate(BMesh *bm, BMVert *v, BMVert ***r_vout, int *r_vout_len) } /** - * High level function which wraps both #bm_vert_separate and #bm_edge_separate + * High level function which wraps both #bmesh_vert_separate and #bmesh_edge_separate */ int BM_vert_separate(BMesh *bm, BMVert *v, BMVert ***r_vout, int *r_vout_len, BMEdge **e_in, int e_in_len) diff --git a/source/blender/bmesh/intern/bmesh_marking.c b/source/blender/bmesh/intern/bmesh_marking.c index d16dacaf5cf..8e9a19b54fb 100644 --- a/source/blender/bmesh/intern/bmesh_marking.c +++ b/source/blender/bmesh/intern/bmesh_marking.c @@ -567,9 +567,9 @@ BMFace *BM_active_face_get(BMesh *bm, int sloppy) * These functions were written to be used by the Modifier widget * when in Rotate about active mode, but can be used anywhere. * - * - #EM_editselection_center - * - #EM_editselection_normal - * - #EM_editselection_plane + * - #BM_editselection_center + * - #BM_editselection_normal + * - #BM_editselection_plane */ void BM_editselection_center(BMEditSelection *ese, float r_center[3]) { diff --git a/source/blender/bmesh/intern/bmesh_mods.c b/source/blender/bmesh/intern/bmesh_mods.c index a549c700c07..fc270c61113 100644 --- a/source/blender/bmesh/intern/bmesh_mods.c +++ b/source/blender/bmesh/intern/bmesh_mods.c @@ -384,7 +384,7 @@ BMFace *BM_face_split(BMesh *bm, BMFace *f, BMVert *v1, BMVert *v2, BMLoop **r_l * \param bm The bmesh * \param f the original face * \param v1, v2 vertices which define the split edge, must be different - * \param co Array of coordinates for intermediate points + * \param cos Array of coordinates for intermediate points * \param n Length of \a cos (must be > 0) * \param r_l pointer which will receive the BMLoop for the first split edge (from \a v1) in the new face * \param example Edge used for attributes of splitting edge, if non-NULL @@ -888,6 +888,7 @@ int BM_edge_rotate_check(BMEdge *e) * 1) does the newly forms edge form a flipped face (compare with previous cross product) * 2) does the newly formed edge cause a zero area corner (or close enough to be almost zero) * + * \param e The edge to test rotation. * \param l1,l2 are the loops of the proposed verts to rotate too and should * be the result of calling #BM_edge_calc_rotate */ diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c index 5d63172dbfa..4bc2ae46f52 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.c +++ b/source/blender/bmesh/intern/bmesh_polygon.c @@ -664,7 +664,8 @@ static int bm_face_goodline(float const (*projectverts)[3], BMFace *f, int v1i, * \brief Find Ear * * Used by tessellator to find the next triangle to 'clip off' of a polygon while tessellating. - * + * \param f The face to search. + * \param verts an array of face vert coords. * \param use_beauty Currently only applies to quads, can be extended later on. * \param abscoss Must be allocated by caller, and at least f->len length * (allow to avoid allocating a new one for each tri!). diff --git a/source/blender/bmesh/intern/bmesh_queries.c b/source/blender/bmesh/intern/bmesh_queries.c index ef5145d6582..a439eff36f6 100644 --- a/source/blender/bmesh/intern/bmesh_queries.c +++ b/source/blender/bmesh/intern/bmesh_queries.c @@ -797,7 +797,6 @@ float BM_loop_calc_face_angle(BMLoop *l) * * Calculate the normal at this loop corner or fallback to the face normal on straight lines. * - * \param bm The BMesh * \param l The loop to calculate the normal at * \param r_normal Resulting normal */ @@ -821,7 +820,6 @@ void BM_loop_calc_face_normal(BMLoop *l, float r_normal[3]) * Calculate the tangent at this loop corner or fallback to the face normal on straight lines. * This vector always points inward into the face. * - * \param bm The BMesh * \param l The loop to calculate the tangent at * \param r_tangent Resulting tangent */ @@ -881,6 +879,7 @@ float BM_edge_calc_face_angle(BMEdge *e) * \param e * \param e_loop The loop to calculate the tangent at, * used to get the face and winding direction. + * \param r_tangent The loop corner tangent to set */ void BM_edge_calc_face_tangent(BMEdge *e, BMLoop *e_loop, float r_tangent[3]) -- cgit v1.2.3