Student: ktkohl 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): 0 ---------------------------------------------- total (100): 95 Cohen-Sutherland: program runs, buggy (55): 50 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): 90 Comments: ---------------------------------------------- Bresenham: Good! Nice and simple. Cohen-Sutherland: You should have used the constants LEFT, TOP, BOTTOM, and RIGHT to create your integer outcode. Then to check to see if the line clips the left edge, all you have to check is (outcode & LEFT) *************************************************