Order of Items in Lists
Undesired Outcome | Intended Outcome | |
---|---|---|
Returns | The model generated appear twisted with one surface facing downwards and one facing up.![]() |
The polygon generated is facing up and looking sound.![]() |
Procedures | ![]() |
![]() |
Explanations | The reason for the bug is that the list of positions in the last code of make.Polygon is not in geometric order.![]() |
Debug the code by figuring out the order of the positions and rearranging the list.![]() |