projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd8ea2
)
dtscreen: cosmic flame fractals missing drawing code
author
alx
<alx@fastestcode.org>
Fri, 21 Feb 2014 14:21:20 +0000
(15:21 +0100)
committer
Jon Trulson
<jon@radscan.com>
Sun, 23 Feb 2014 02:05:47 +0000
(19:05 -0700)
cde/programs/dtscreen/flame.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtscreen/flame.c
b/cde/programs/dtscreen/flame.c
index e4cfbca1bb8bfd3ee269374b2885d07073eb3c92..48e7a0e276b3453ca00e5b5eb97c3b4deaabd977 100644
(file)
--- a/
cde/programs/dtscreen/flame.c
+++ b/
cde/programs/dtscreen/flame.c
@@
-128,6
+128,8
@@
recurse(fs, x, y, l)
return False;
if (x > -1.0 && x < 1.0 && y > -1.0 && y < 1.0) {
+ fs->pts[fs->num_points].x = (int) ((fs->width / 2) * (x + 1.0));
+ fs->pts[fs->num_points].y = (int) ((fs->height / 2) * (y + 1.0));
fs->num_points++;
if (fs->num_points > MAXBATCH) { /* point buffer size */
XDrawPoints(dsp, fs->pwin->w, fs->pwin->gc, fs->pts,