mandelbrot

simple mandelbrot visualizer
Index Commits Files Refs README LICENSE
commit baa6905088e745b6e5f654fe24378061a5fa7ed1
parent efc9734e1448d509126d60a1ab383eb463c2377f
Author: mjkloeckner <martin.cachari@gmail.com>
Date:   Sun, 25 Dec 2022 21:58:18 -0300

Removed unnecessary link in Makefile

Diffstat:
MMakefile | 2+-
Mmain.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,5 +1,5 @@
 CC := gcc
-CLIBS := `sdl2-config --libs` -lSDL2_ttf -lm
+CLIBS := `sdl2-config --libs` -lm
 CFLAGS := `sdl2-config --cflags` -Wall -Wshadow -pedantic -ansi -std=c99 -O3
 SRCS := $(wildcard *.c)
 OBJS := $(SRCS:.c=.o)
diff --git a/main.c b/main.c
@@ -24,7 +24,7 @@ float map(float x, float in_min, float in_max, float out_min, float out_max) {
     return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
 }
 
-size_t get_iterations(float complex z0) {
+size_t get_iterations(const float complex z0) {
     size_t it;
     float complex z = 0.0 + 0.0 * I;