added args to the program

you can turn on/off colors, and set the graph size
This commit is contained in:
ALittlePatate
2022-09-03 16:32:19 +02:00
parent 3efc546a1f
commit fdcdabebc1
2 changed files with 19 additions and 5 deletions

View File

@@ -25,9 +25,9 @@ enum STATUS Calcul_Sommet(Poly* poly);
enum STATUS Calcul_Fonction(Poly* poly, float x, float *out);
enum STATUS Calcul_Derivee(Poly* poly, float x, float *out);
#define LONGUEUR_X 20
#define LONGUEUR_Y 20
int LONGUEUR_X = 20;
int LONGUEUR_Y = 20;
void Dessiner_Separateur();
bool use_colors = false;
int use_colors = false;
enum STATUS Dessiner_Graph(Poly* poly);
int main();