Cleanup: update old comments

This commit is contained in:
Campbell Barton 2021-02-10 09:37:11 +11:00
parent de0801c3d6
commit 201865b6f7
2 changed files with 10 additions and 4 deletions

View File

@ -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],

View File

@ -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 */