소스 검색

ogsf: slices - resolution is type double, not int

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49411 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 년 전
부모
커밋
efdb6a4d58
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      lib/ogsf/gvld.c

+ 4 - 2
lib/ogsf/gvld.c

@@ -491,7 +491,8 @@ int gvld_slice(geovol * gvl, int ndx)
     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 @@ int gvld_wire_slices(geovol * gvl)
 {
     float pt[3];
     int i;
-    int ptX, ptY, ptZ, resx, resy, resz;
+    int ptX, ptY, ptZ;
+    double resx, resy, resz;
 
     geovol_slice *slice;