Student: jee Assignment: 2 Grader: Charlie ************************************************ Bresenham: program runs, buggy (55): 55 correct implementation of Bresenham (20): 20 no floats and divides (20): 20 extra credit (5): 2 ---------------------------------------------- total (100): 97 Cohen-Sutherland: program runs, buggy (55): 55 inside case correct (10): 10 outside case correct (10): 10 one clip correct (10): 10 two clips correct (10): 10 extra credit (5): 1 ---------------------------------------------- total (100): 96 Comments: ---------------------------------------------- Bresenham: Good! Bresenham for 8 octants could be coded with only 1 loop... Cohen-Sutherland: Good clean code! You can further reduce the number of lines by making the procedure a recursive procedure, because you have redundant code when you are doing the same thing to both endpoints. *************************************************