diff -urN CImg-1.2.4.orig/CImg.h CImg-1.2.4/CImg.h --- CImg-1.2.4.orig/CImg.h Wed Sep 26 11:32:04 2007 +++ CImg-1.2.4/CImg.h Thu Sep 27 22:17:05 2007 @@ -18104,14 +18104,14 @@ int imax = 0; CImg vv(N); indx.assign(N); - d=true; + d = true; cimg_forX(*this,i) { ftype vmax = 0; cimg_forX(*this,j) { const ftype tmp = cimg::abs((*this)(j,i)); if (tmp>vmax) vmax = tmp; } - if (vmax==0) return fill(0); + if (vmax==0) { indx.fill(0); return fill(0); } vv[i] = 1/vmax; } cimg_forX(*this,j) { diff -urN CImg-1.2.4.orig/README.txt CImg-1.2.4/README.txt --- CImg-1.2.4.orig/README.txt Wed Sep 26 11:32:03 2007 +++ CImg-1.2.4/README.txt Thu Sep 27 22:17:05 2007 @@ -43,6 +43,8 @@ - Eric Fausett - Jean-Marie Favreau - Sebastien Fourey + - Alexandre Fournier + - Vincent Garcia - Jean-Daniel Guyot - Matt Hanson - Christoph Hormann Binary files CImg-1.2.4.orig/documentation/CImg_reference.pdf and CImg-1.2.4/documentation/CImg_reference.pdf differ diff -urN CImg-1.2.4.orig/documentation/index.shtml CImg-1.2.4/documentation/index.shtml --- CImg-1.2.4.orig/documentation/index.shtml Wed Sep 26 11:32:03 2007 +++ CImg-1.2.4/documentation/index.shtml Thu Sep 27 22:17:05 2007 @@ -58,6 +58,8 @@ Eric Fausett, Jean-Marie Favreau, Sebastien Fourey, + Alexandre Fournier, + Vincent Garcia, Jean-Daniel Guyot, Matt Hanson, Christoph Hormann, diff -urN CImg-1.2.4.orig/examples/toolbox3d.cpp CImg-1.2.4/examples/toolbox3d.cpp --- CImg-1.2.4.orig/examples/toolbox3d.cpp Wed Sep 26 11:32:04 2007 +++ CImg-1.2.4/examples/toolbox3d.cpp Thu Sep 27 22:17:06 2007 @@ -119,7 +119,7 @@ std::fprintf(stderr," - Display 3D Scene.\n"); const CImg visu = CImg(3,512,512,1).fill(230,230,255).permute_axes("yzvx"); CImg view_matrix = CImg<>::identity_matrix(4); - visu.display_object3d(scene_pts,scene_prims,scene_cols,scene_opacs,true,4,1,false, + visu.display_object3d(scene_pts,scene_prims,scene_cols,scene_opacs,true,4,4,false, 500.0f,0.05f,true,view_matrix.ptr()); // Save object 3D as OFF file.