change a default
This commit is contained in:
parent
2c4612411b
commit
d5d9aa8c43
@ -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++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user