Added comments to seam and sharp len, removed unused var

This commit is contained in:
Rohan Rathi 2018-08-04 22:38:54 +05:30
parent 7db1db72bb
commit cc30793a76
Notes: blender-bot 2023-02-14 07:39:44 +01:00
Referenced by issue #69184, bevel modifier -- mark seems
1 changed files with 2 additions and 5 deletions

View File

@ -152,8 +152,8 @@ typedef struct BoundVert {
Profile profile; /* edge profile between this and next BoundVert */
bool any_seam; /* are any of the edges attached here seams? */
bool visited; /* used during delta adjust pass */
int seam_len;
int sharp_len;
int seam_len; /* length of seam starting from current boundvert to next boundvert with ccw ordering */
int sharp_len; /* Same as seam_len but defines length of sharp edges */
// int _pad;
} BoundVert;
@ -185,7 +185,6 @@ typedef struct BevVert {
EdgeHalf *edges; /* array of size edgecount; CCW order from vertex normal side */
BMEdge **wire_edges; /* array of size wirecount of wire edges */
VMesh *vmesh; /* mesh structure for replacing vertex */
bool fix_shading;
} BevVert;
/* Bevel parameters and state */
@ -3209,8 +3208,6 @@ static VMesh *adj_vmesh(BevelParams *bp, BevVert *bv)
return tri_corner_adj_vmesh(bp, bv);
}
bv->fix_shading = true;
/* First construct an initial control mesh, with nseg==2 */
ns = bv->vmesh->seg;
vm0 = new_adj_vmesh(mem_arena, n, 2, bv->vmesh->boundstart);