Nombre de lignes : 26 lignes
Afficher ce fichier en plein écran
- #ifndef ktriangle
- #define ktriangle
- #include <SDL/SDL.h>
- #include <stdlib.h>
- struct triangle{
- struct coord{
- int x;
- int y;
- }point[3];
- struct triangle* a;
- struct triangle* b;
- struct triangle* c;
- };
- void dessin(struct triangle* arbre,SDL_Surface* fenetre,SDL_Surface* px);
- void ramifier(struct triangle* fractale);
- void liberer(struct triangle* fractale);
- #endif