Student: vbunny Assignment: 2 Grader: Damian ************************************************ Bresenham: program runs (55): 55 correct implementation of Bresenham (20): 20 no floats and divides (20): 20 extra credit (5): 0 ---------------------------------------------- total (100): 95 Cohen-Sutherland: program runs (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): 5 ---------------------------------------------- total (100): 100 Comments: ---------------------------------------------- Bresenham: You missed an even easier way to avoid floats: instead of multiplying by 2^16, multiply by 2*dx throughout. This gets rid of the denominator of all the fractions, and lets you use ints without any loss of accuracy. Cohen-Sutherland: Nice straightforward implementation. *************************************************