Closed tanya-kta closed 4 years ago
Face::n_of_vertices
should be equaln_of_vertices
I don't find this an obviously right decision. Probably it's more natural to have n_of_vertices
to be equal to the number of elements in the vertices
array :)
First vertex of
Face::vertices
must be repeated in the end, but it's better if the user doesn't have to do that.Face
constructor should get vertices and their number without repetition, then allocate memory forFace::vertices
of sizen_of_vertices + 1
.Face::n_of_vertices
should be equaln_of_vertices