[Plib-cvs] plib/src/ssg ssgVtxTable.cxx,1.36,1.37
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2004-09-13 11:43:17
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32629/ssg Modified Files: ssgVtxTable.cxx Log Message: Style changes by Mr John F Fay Index: ssgVtxTable.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgVtxTable.cxx,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- ssgVtxTable.cxx 24 Jun 2004 16:30:55 -0000 1.36 +++ ssgVtxTable.cxx 13 Sep 2004 11:43:08 -0000 1.37 @@ -28,34 +28,33 @@ int ssgSimpleList::compare(ssgSimpleList *other, int print_result) { - int result = TRUE; + int result = TRUE; if (total !=other->total ) - { result = FALSE; - if(print_result) - printf("ERROR: total \n"); - } - else [...340 lines suppressed...] + ssgVtxArray * s = new ssgVtxArray ( getGLtype(), + vertices, normals, texcoords, colours, indices); + s->setName(name); + s->setState(state); + return s; } @@ -944,9 +944,9 @@ return ; sprintf ( in, "%s ", indent ); - + ssgLeaf ::print ( fd, indent, how_much ) ; - + if ( vertices == NULL ) fprintf ( fd, "%s No Vertices!\n", indent ) ; else |