Student: wang066 Assignment: 2 Grader: Damian ************************************************ Bresenham: program runs (55): 55 correct implementation of Bresenham (20): 20 no floats and divides (20): 20 extra credit (5): 5 ---------------------------------------------- total (100): 100 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): 0 ---------------------------------------------- total (100): 95 Comments: ---------------------------------------------- Bresenham: Nice job on the circle! Cohen-Sutherland: The algorithm is correct, but the way that you're using opcodes is really not practical. To use string takes up a LOT more cycles than using integers. And, yes, it's quite easy to use integers, in the same way that you would use them in C: "1001" (binary) = 8 ("1000" binary) + 1 ("0001" binary) = 9 *************************************************