I am writing Open GL using the glut, gl, and glu libraries in Visual C++. I am quite new at this. I am currently doing my first animation. I was wondering if anyone knew a way to program a relatively realistic arc for a basketball. It doesn't have to be too realistic, as I only know the basics, but I thought there might be a way to implement the math library and use a derivation of the following formula (which is the only way I know to create a circle, in 2D):
for (i = 0; i < n; i ++)
x = Rad * cos((360 * i)/n) + 100;
y = Rad * sin((360 * i)/n) + 100;
any help would be appreciated...