diff options
Diffstat (limited to 'examples/ppm.c')
| -rw-r--r-- | examples/ppm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/ppm.c b/examples/ppm.c index 95fafcf..6edd1d7 100644 --- a/examples/ppm.c +++ b/examples/ppm.c @@ -10,10 +10,10 @@ int main() { ppm_fill(&img, COLOR_HEX(0x1a1a1a)); // Draw some shapes - ppm_draw_rect(&img, 50, 50, 100, 100, CLR_RED); - ppm_draw_circle(&img, 250, 100, 40, CLR_BLUE); - ppm_draw_triangle(&img, 50, 350, 150, 350, 100, 250, CLR_YELLOW); - ppm_draw_line(&img, 200, 200, 350, 350, CLR_GREEN); + ppm_draw_rect(&img, 50, 50, 100, 100, COLOR_RED); + ppm_draw_circle(&img, 250, 100, 40, COLOR_BLUE); + ppm_draw_triangle(&img, 50, 350, 150, 350, 100, 250, COLOR_YELLOW); + ppm_draw_line(&img, 200, 200, 350, 350, COLOR_GREEN); // Random colors and macros ppm_draw_rect(&img, 200, 250, 50, 80, COLOR_RGB(255, 165, 0)); |
