From: hackbard Date: Tue, 15 Mar 2005 18:28:09 +0000 (+0000) Subject: switched to apropriate values X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=911eda9dcfef2bbf8742e6875394a0e5032cdf27;p=physik%2Fnlsop.git switched to apropriate values --- diff --git a/linescan.c b/linescan.c index 11a2b5f..889446c 100644 --- a/linescan.c +++ b/linescan.c @@ -11,10 +11,13 @@ #include #include "bmp.h" +#define DX (3) + int main(int argc,char **argv) { t_bmp bmp; - int x,y; + int x,y,d; + double val; if(argc!=2) { printf("usage: %s \n",argv[0]); @@ -27,12 +30,15 @@ int main(int argc,char **argv) { bmp_read_file(&bmp); - dprintf(2,"width = %d\n",bmp.info.width); + dprintf(2,"width = %d ... delta x = %d.\n",bmp.info.width,DX); x=bmp.info.width/2; for(y=0;y