Student: jso Assignment: 2 Grader: Charlie ************************************************ Bresenham: program runs, buggy (55): 55 correct implementation of Bresenham (20): 20 no floats and divides (20): 10 extra credit (5): 2 ---------------------------------------------- total (100): 87 Cohen-Sutherland: program runs, buggy (55): 45 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): 85 Comments: ---------------------------------------------- Bresenham: You really did not need any floats or divisions to implement Bresenham correctly. See the book H&B for more details. You could also implement all 8 octants with one loop. Cohen-Sutherland: It will be more efficient if you used an integer to store the outcode as bits with rather than using a string to immitate the function of bitmasks... *************************************************