[Plib-cvs] plib/src/ssg ssgVtxTable.cxx,1.31,1.32
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2003-12-12 18:22:03
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1:/tmp/cvs-serv11831 Modified Files: ssgVtxTable.cxx Log Message: Implemented compare functions Index: ssgVtxTable.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgVtxTable.cxx,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- ssgVtxTable.cxx 10 Nov 2002 17:12:13 -0000 1.31 +++ ssgVtxTable.cxx 12 Dec 2003 18:21:59 -0000 1.32 @@ -26,6 +26,106 @@ #define HL_DELTA 0.04f +int ssgSimpleList::compare(ssgSimpleList *other, int print_result) +{ + int result = TRUE; + if (total !=other->total ) + { result = FALSE; + if(print_result) + printf("ERROR: total \n"); + } [...102 lines suppressed...] sgVec4 plane ; @@ -621,7 +721,7 @@ for ( int i = 0 ; i < nt ; i++ ) { - short v1, v2, v3 ; + short v1, v2, v3 ; sgVec3 vv1, vv2, vv3 ; sgVec4 plane ; @@ -688,7 +788,7 @@ for ( int i = 0 ; i < nt ; i++ ) { - short v1, v2, v3 ; + short v1, v2, v3 ; sgVec3 vv1, vv2, vv3 ; sgVec4 plane ; |