Student: henryw Assignment: 2 Grader: Charlie ************************************************ Bresenham: program runs, buggy (55): 55 correct implementation of Bresenham (20): 5 no floats and divides (20): 20 extra credit (5): 0 ---------------------------------------------- total (100): 80 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): 0 ---------------------------------------------- total (100): Comments: ---------------------------------------------- Bresenham: You're Bresenham algorithm is incorrect. The idea of Bresenham is to keep track of an error. You increment y only when that error value gets too large. You're implementation does not keep track of the error. Instead, you recalculate it each time. Cohen-Sutherland: Good job. *************************************************