
Development Tips
•Your canvas has (0,0)
at the top left, with (canvasWidth-1, canvasHeight-1) at bottom right. Examples in book have
(0,0) at bottom left. Doesn’t
change too much, just be aware.
•
•If you are
comfortable using them, you might find the C++ standard templates useful (especially sorted lists) for
handling lists in your edge
table.
•
•Alternatively,
you might want to write your own class or functions to handle this.