1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtscreen: cosmic flame fractals missing drawing code

This commit is contained in:
alx 2014-02-21 15:21:20 +01:00 committed by Jon Trulson
parent 9dd8ea27bf
commit 0e707fe71f

View file

@ -128,6 +128,8 @@ recurse(fs, x, y, l)
return False; return False;
if (x > -1.0 && x < 1.0 && y > -1.0 && y < 1.0) { 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++; fs->num_points++;
if (fs->num_points > MAXBATCH) { /* point buffer size */ if (fs->num_points > MAXBATCH) { /* point buffer size */
XDrawPoints(dsp, fs->pwin->w, fs->pwin->gc, fs->pts, XDrawPoints(dsp, fs->pwin->w, fs->pwin->gc, fs->pts,