Added moving ability

Press the arrow keys to move in the graph in real time
This commit is contained in:
ALittlePatate
2022-09-03 18:16:11 +02:00
parent 31e68cf77e
commit 2877775056
2 changed files with 62 additions and 12 deletions

View File

@@ -25,9 +25,14 @@ 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);
int LONGUEUR_X = 20;
int LONGUEUR_Y = 20;
int LONGUEUR_X_MAX = 20;
int LONGUEUR_Y_MAX = 20;
int LONGUEUR_Y_MIN = -20;
int LONGUEUR_X_MIN = -20;
int LONGUEUR_X_TAB = 20;
int LONGUEUR_Y_TAB = 20;
void Dessiner_Separateur();
int use_colors = false;
void Dessiner_Actualiser(Poly* poly);
enum STATUS Dessiner_Graph(Poly* poly);
int main();