update struct syntax and comment fix

This commit is contained in:
Ole Morud
2022-06-07 15:49:22 +02:00
parent 5197b8d4cc
commit 87c0cb8d01

View File

@@ -8,12 +8,9 @@
#define FRAMERATE 10 #define FRAMERATE 10
typedef struct Point{ typedef struct Point{
double x; double x, y;
double y; px, py;
double px; fx, fy;
double py;
double fx;
double fy;
} Point; } Point;
typedef struct Link { typedef struct Link {
@@ -29,7 +26,7 @@ void update_point(Point* p);
/* /*
* main * Main
*/ */
int main(){ int main(){
char *data = malloc(40*40); char *data = malloc(40*40);