[GRASS-SVN] r49412 - grass/branches/develbranch_6/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 28 15:09:35 EST 2011


Author: annakrat
Date: 2011-11-28 12:09:35 -0800 (Mon, 28 Nov 2011)
New Revision: 49412

Modified:
   grass/branches/develbranch_6/lib/ogsf/gvld.c
Log:
ogsf: slices - resolution is type double, not int (merge from trunk, r49411)

Modified: grass/branches/develbranch_6/lib/ogsf/gvld.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/gvld.c	2011-11-28 20:02:57 UTC (rev 49411)
+++ grass/branches/develbranch_6/lib/ogsf/gvld.c	2011-11-28 20:09:35 UTC (rev 49412)
@@ -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