change a default

This commit is contained in:
tTh 2022-11-08 01:39:58 +01:00
parent 2c4612411b
commit d5d9aa8c43

View File

@ -11,8 +11,8 @@
#define XMIN 0 #define XMIN 0
#define YMIN 0 #define YMIN 0
#define XMAX 640 /* constant from a 'dddd' */ #define XMAX 800 /* constant from a 'dddd' */
#define YMAX 480 /* constant from a 'dddd' */ #define YMAX 600 /* constant from a 'dddd' */
/*::------------------------------------------------------------------::*/ /*::------------------------------------------------------------------::*/
static Image_Desc *image; static Image_Desc *image;
@ -120,8 +120,8 @@ if ((fp = fopen(filename, "r"))==NULL) {
} }
nbp = 0; nbp = 0;
xmin = 9999999; xmax = -9999999; xmin = 9999999.99; xmax = -9999999.99;
ymin = 9999999; ymax = -9999999; ymin = 9999999.99; ymax = -9999999.99;
while ( fscanf(fp, "%lf %lf %d", &x, &y, &v) == 3 ) { while ( fscanf(fp, "%lf %lf %d", &x, &y, &v) == 3 ) {
nbp++; nbp++;