X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fflow.c;h=d3cc904f8d3ee136e2672bdb83c7b7bbffd23046;hp=f606e05d86cff324d9e440b65d8639eb10232865;hb=af290bcdf2d1c61efc8aaaff653745c900cbe98c;hpb=df7adbee81405e2849728a24b498ad2117784b1f diff --git a/hacks/flow.c b/hacks/flow.c index f606e05d..d3cc904f 100644 --- a/hacks/flow.c +++ b/hacks/flow.c @@ -412,7 +412,7 @@ draw_flow(ModeInfo * mi) /* Fill the segment lists. */ - if(sp->view.depth) /* perspective view has special points */ + if(sp->view.depth) { /* perspective view has special points */ if(b==0){ /* point of view */ sp->centre.x=X(0, b); sp->centre.y=Y(0, b); @@ -476,6 +476,7 @@ draw_flow(ModeInfo * mi) Z(1, b)=Z(0, 0); #endif } + } for(i=0; i<2; i++){ double x=X(i,b)-sp->centre.x;