bekha
Messages postés6Date d'inscriptionmercredi 9 avril 2008StatutMembreDernière intervention 2 décembre 2008
-
13 juin 2008 à 10:39
blackberry32
Messages postés1Date d'inscriptiondimanche 5 juin 2005StatutMembreDernière intervention 5 mai 2009
-
5 mai 2009 à 20:41
SDL_WM_SetCaption("Courbe de Brezier !", NULL);
SDL_FillRect(ecran,0,color_screen);
SDL_Flip(ecran);
bezier(150,450,220,300,300,50,660,500,4);
pause();
SDL_Quit();
return EXIT_SUCCESS;
}
void bezier (int xa, int ya, int xb, int yb, int xc, int yc, int xd, int yd, int n)
{
int xab, yab, xbc, ybc, xcd, ycd, xabc, yabc, xbcd, ybcd, xg, yg;
SDL_WM_SetCaption("Courbe de Brezier !", NULL);
SDL_FillRect(ecran,0,color_screen);
SDL_Flip(ecran);
bezier(150,450,220,300,300,50,660,500,4);
pause();
SDL_Quit();
return EXIT_SUCCESS;
}
void bezier (int xa, int ya, int xb, int yb, int xc, int yc, int xd, int yd, int n)
{
int xab, yab, xbc, ybc, xcd, ycd, xabc, yabc, xbcd, ybcd, xg, yg;
blackberry32
Messages postés1Date d'inscriptiondimanche 5 juin 2005StatutMembreDernière intervention 5 mai 2009 5 mai 2009 à 20:41
Bonjour!
Je regarde ton programme Ango, mais je ne parviens pas a comprendre la logique de calcul de la fonction "bezier".
Quelqu'un pourrait il éclairer ma lanterne sil vous plait?