So I'm taking a computer graphics course in openGL right now, and for the first lab we are to among other things implement three line drawing routines. First off a normal DDA algorithm, that's easy..
Circle Equation A circle's equation in a 2D plane with center (xc, yc) and radius r is: (x-xc)^2+(y-yc)^2=r^2 The Midpoint Circle Algorithm exploits the fact that for any point on the circle, the ...