summaryrefslogtreecommitdiff
path: root/donut.h
diff options
context:
space:
mode:
Diffstat (limited to 'donut.h')
-rw-r--r--donut.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/donut.h b/donut.h
index 568ae80..e4e0519 100644
--- a/donut.h
+++ b/donut.h
@@ -5,6 +5,8 @@
#include <stdio.h>
#include <math.h>
+#define MAX(a,b) ((a)>(b)?(a):(b))
+
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 640
@@ -26,4 +28,4 @@ point3d rotate_x(point3d p, double a);
point3d rotate_y(point3d p, double a);
point3d rotate_z(point3d p, double a);
-#endif \ No newline at end of file
+#endif