diff options
author | leo <leo@azuminha.com> | 2024-02-15 02:22:09 -0300 |
---|---|---|
committer | leo <leo@azuminha.com> | 2024-02-15 02:22:09 -0300 |
commit | b96e1de0bd5e00d7bd3c74cf5319a6fb76439c24 (patch) | |
tree | 255455571ed26aa825c336d1ab27b5119c933ba3 /donut.h | |
parent | 282c24f7f940b3b7e0caf76bd6e20d2993bf42b6 (diff) |
acho que tem sombras, porem tem que arrumar a ordem de renderizacao
Diffstat (limited to 'donut.h')
-rw-r--r-- | donut.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |