But applications
GlBegin (GL_LINE_LOOP);
for (int i=0; i
If==f (t)//each coordinate with a f logo, when f and t phase at the same time, began to draw points, when the change is not the same as the t f instructions into next
//draw a circle square
{
[I] glVertex2f (xp mx, xp [I] my);
}
Else if (t!=f)
{
GlEnd ();
T=t + 1;
GlBegin (GL_LINE_LOOP);
[I] glVertex2f (xp mx, xp [I] my);
}
}
GlEnd ();
But draw graphics does continuous
Please help!!!!!!!!!!
CodePudding user response:
First picture of the outer ring?Order is the "upper left to lower left", then lower left to lower right, lower right to upper right?
If so, you top right corner that some initialization is wrong, not satisfy t=f
CodePudding user response:
Indeed, the second circle of the initial point in the right position, but after the continuous not painting a circle disconnect