This extra credit assignment will allow you some additional experience with 2D line drawing algorithms.
Function | Description |
---|---|
void
drawCircle(int x0, int y0, int r) |
Draw
a circle with center (x0,y0) and radius r .
|
File | Description |
drawCircle.c | Default implementations of the functions that you need to implement. |
setPixel.c | Implementation of setPixel(). Recall that you must use this function in your implementation. No OpenGL calls allowed! |
header.mak | If you plan on using makemake or gmakemake on the Suns. |
NOTES:
Filename | Description |
drawCircle.c | Contains implementations of the routines that need to be written. Feel free to use the supplied drawCircle.c as a template, replacing the original code with your implementation |
aux files | Any additional files that might be needed for your implementation (optional) |
README | Indicate on what platform you tested your implementation and provide additional info I may need to know (e.g. auxillary libraries used) in order to build and run your assignment. |
last
updated 11/04/07