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:
parent
9dd8ea27bf
commit
0e707fe71f
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue