Student: sverdlov Assignment: 2 Grader: Damian ************************************************ Bresenham: program runs (55): 55 correct implementation of Bresenham (20): 20 no floats and divides (20): 20 extra credit (5): ---------------------------------------------- total (100): 95 Cohen-Sutherland: program runs (55): 45 inside case correct (10): 5 outside case correct (10): 10 one clip correct (10): 5 two clips correct (10): 5 extra credit (5): ---------------------------------------------- total (100): 70 Comments: ---------------------------------------------- Bresenham: Good job. Seems correct. You did more work than you needed to, though: you implemented code for the first and fifth octants, which doesn't give you more credit than just doing the first. Cohen-Sutherland: You have some problems with your Cohen-Sutherland. Most lines that are drawn are not exactly right, and there are cases in which the program hangs. I looked at your code and in general it seems like you have the right idea. *************************************************