[GRASS-SVN] r49411 - grass/trunk/lib/ogsf
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 28 15:02:57 EST 2011
Author: annakrat
Date: 2011-11-28 12:02:57 -0800 (Mon, 28 Nov 2011)
New Revision: 49411
Modified:
grass/trunk/lib/ogsf/gvld.c
Log:
ogsf: slices - resolution is type double, not int
Modified: grass/trunk/lib/ogsf/gvld.c
===================================================================
--- grass/trunk/lib/ogsf/gvld.c 2011-11-28 19:10:58 UTC (rev 49410)
+++ grass/trunk/lib/ogsf/gvld.c 2011-11-28 20:02:57 UTC (rev 49411)
@@ -491,7 +491,8 @@
float x, nextx, y, nexty, z, stepx, stepy, stepz;
int cols, rows, c, r;
float f_cols, f_rows, distxy, distz, modx, mody, modz, modxy;
- int ptX, ptY, ptZ, resx, resy, resz;
+ int ptX, ptY, ptZ;
+ double resx, resy, resz;
/* current slice */
slice = gvl->slice[ndx];
@@ -664,7 +665,8 @@
{
float pt[3];
int i;
- int ptX, ptY, ptZ, resx, resy, resz;
+ int ptX, ptY, ptZ;
+ double resx, resy, resz;
geovol_slice *slice;
More information about the grass-commit
mailing list