Improve inline comments

This commit is contained in:
hasufell 2014-05-09 11:38:53 +02:00
parent a32de1dd6d
commit 5b5eea7f03

View File

@ -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++;