diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_interp.c | 8 | ||||
-rw-r--r-- | source/blender/editors/uvedit/uvedit_smart_stitch.c | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/source/blender/bmesh/intern/bmesh_interp.c b/source/blender/bmesh/intern/bmesh_interp.c index a15408d43be..6857a1f3929 100644 --- a/source/blender/bmesh/intern/bmesh_interp.c +++ b/source/blender/bmesh/intern/bmesh_interp.c @@ -342,8 +342,12 @@ static void mdisp_axis_from_quad(const float v1[3], normalize_v3(r_axis_y); } -/* tl is loop to project onto, l is loop whose internal displacement, co, is being - * projected. x and y are location in loop's mdisps grid of point co. */ +/** + * \param l_src: is loop whose internal displacement. + * \param l_dst: is loop to project onto. + * \param p: The point being projected. + * \param r_axis_x, r_axis_y: The location in loop's #CD_MDISPS grid of point `p`. + */ static bool mdisp_in_mdispquad(BMLoop *l_src, BMLoop *l_dst, const float l_dst_f_center[3], diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c index 5c4dc90f112..8ebf000baaa 100644 --- a/source/blender/editors/uvedit/uvedit_smart_stitch.c +++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c @@ -129,8 +129,10 @@ typedef struct UvEdge { /** general use flag * (Used to check if edge is boundary here, and propagates to adjacency elements) */ uchar flag; - /** element that guarantees element->face - * has the edge on element->tfindex and element->tfindex+1 is the second uv */ + /** + * Element that guarantees `element.l` has the edge on + * `element.loop_of_poly_index` and `element->loop_of_poly_index + 1` is the second UV. + */ UvElement *element; /** next uv edge with the same exact vertices as this one. * Calculated at startup to save time */ |