Improve inline comments
This commit is contained in:
parent
a32de1dd6d
commit
5b5eea7f03
4
parser.c
4
parser.c
@ -140,9 +140,9 @@ HE_obj *parse_obj(char const * const obj_string)
|
|||||||
edges[ec].pair = NULL; /* preliminary */
|
edges[ec].pair = NULL; /* preliminary */
|
||||||
vertices[face_v[i][j] - 1].edge = &(edges[ec]); /* last one wins */
|
vertices[face_v[i][j] - 1].edge = &(edges[ec]); /* last one wins */
|
||||||
|
|
||||||
if (face_v[i][j + 1])
|
if (face_v[i][j + 1]) /* connect to next vertice */
|
||||||
edges[ec].next = &(edges[ec + 1]);
|
edges[ec].next = &(edges[ec + 1]);
|
||||||
else
|
else /* no vertices left, connect to first vertice */
|
||||||
edges[ec].next = &(edges[ec - j]);
|
edges[ec].next = &(edges[ec - j]);
|
||||||
|
|
||||||
ec++;
|
ec++;
|
||||||
|
Loading…
Reference in New Issue
Block a user