[Plib-cvs] plib/src/ssg ssgLoadMDL.cxx,1.53,1.54
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2004-10-04 18:34:59
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29922 Modified Files: ssgLoadMDL.cxx Log Message: Further changes to LoDs. Still experimenting with culling :-( Index: ssgLoadMDL.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadMDL.cxx,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- ssgLoadMDL.cxx 25 Feb 2004 15:39:33 -0000 1.53 +++ ssgLoadMDL.cxx 4 Oct 2004 18:33:28 -0000 1.54 @@ -39,6 +39,9 @@ #include "ssgLocal.h" +// kludge: global +int g_noLoDs =1; + #ifdef SSG_LOAD_MDL_SUPPORTED #include "ssgLoadMDL.h" @@ -57,50 +60,53 @@ static ssgLoaderOptions *current_options; [...1482 lines suppressed...] fclose(fp); #ifdef DEBUG - fclose(wkfp); + fclose(wkfp); #endif // :-((( delete curr_vtx_; delete curr_norm_; - DEBUGPRINT("\n" << vertex_array_->getNum() << " vertices\n"); - printf("NoLoDs = %d\n", (int)noLoDs); - g_noLoDs = noLoDs; + DEBUGPRINT("\n" << vertex_array_->getNum() << " vertices\n"); + printf("NoLoDs = %d\n", (int)noLoDs); + printf("noGT=%d, noLT=%d, no0=%d\n", noGT, noLT, no0); + g_noLoDs = noLoDs; return model_; } |