aboutsummaryrefslogtreecommitdiff
path: root/mbrot.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-06-09 18:11:34 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-06-09 18:51:35 +1200
commitd29cb84f52f93e060c2ec0f020f56fea0636428d (patch)
tree6eb70e2bf52cfe4b7ac4d5d07ce99f77cc397e90 /mbrot.c
parentabed235f6918e932020f93f5be4f358637af8144 (diff)
downloadfractal-gen-d29cb84f52f93e060c2ec0f020f56fea0636428d.tar.xz
Moved mallocs inside their if()s, various whitespace removals
Diffstat (limited to 'mbrot.c')
-rw-r--r--mbrot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mbrot.c b/mbrot.c
index fb7d668..6722b55 100644
--- a/mbrot.c
+++ b/mbrot.c
@@ -8,7 +8,6 @@ void *generate_mbrot_section(void *section)
double a,b;
double complex z,c;
-
for (y = d->core, b = (d->core*(3.5f/d->size)-1.75f); y < d->size; b+=((d->cores*3.5f)/d->size), y+=d->cores)
{
for (x = 0, a = -2.5f; x < d->size; a+=(3.5f/d->size), x++)