From: Gordon K. <kin...@us...> - 2005-06-13 19:38:28
|
Update of /cvsroot/teem/teem/src/limn In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20875 Modified Files: contour.c Log Message: added support for lctx->reverse Index: contour.c =================================================================== RCS file: /cvsroot/teem/teem/src/limn/contour.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** contour.c 5 Jun 2005 23:58:45 -0000 1.6 --- contour.c 13 Jun 2005 19:38:16 -0000 1.7 *************** *** 672,675 **** --- 672,679 ---- lctx->vidx[vidx[tcase[1 + 3*ti]] + 5*si], lctx->vidx[vidx[tcase[2 + 3*ti]] + 5*si]); + if (lctx->reverse) { + int tmpi; + tmpi = vii[1]; vii[1] = vii[2]; vii[2] = tmpi; + } limnObjectFaceAdd(cont, partIdx, 0, 3, vii); lctx->faceNum++; |