-i arg for max iterations and lots of new bugs fixed!

parent e00e1adf
...@@ -19,7 +19,7 @@ CC = clang ...@@ -19,7 +19,7 @@ CC = clang
OBJS = $(BIULDDIR)/mouse.o $(BIULDDIR)/ui.o OBJS = $(BIULDDIR)/mouse.o $(BIULDDIR)/ui.o
all: mandelbrot all: mandelbrot fast
mandelbrot: $(SRCDIR)/mandelbrot.c $(OBJS) mandelbrot: $(SRCDIR)/mandelbrot.c $(OBJS)
$(CC) $(CFLAGS) $(DEBUG_FLAGS) $(LDLIBS) $^ -o $@ $(CC) $(CFLAGS) $(DEBUG_FLAGS) $(LDLIBS) $^ -o $@
......
This diff is collapsed.
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#define SCREEN_WIDTH 640 #define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480 #define SCREEN_HEIGHT 480
#define MAX_ITERATIONS 250
typedef struct { typedef struct {
long double real; long double real;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment