Update of /cvsroot/plib/plib/src/ssg
In directory usw-pr-cvs1:/tmp/cvs-serv26354
Modified Files:
ssg.h
Log Message:
Implemented ssgIndexArray::print
Implemented removeUnusedVertices
Index: ssg.h
===================================================================
RCS file: /cvsroot/plib/plib/src/ssg/ssg.h,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- ssg.h 20 Jul 2002 11:58:20 -0000 1.139
+++ ssg.h 22 Jul 2002 14:33:17 -0000 1.140
@@ -541,6 +541,7 @@
{
type = ssgTypeIndexArray () ;
}
+ virtual void print ( FILE *fd = stderr, char *indent = "", int how_much = 2 ) ;
short *get ( unsigned int n ) { return (short *) raw_get ( n ) ; }
void add ( short thing ) { raw_add ( (char *) &thing ) ; } ;
void set ( short thing, unsigned int n ) { raw_set ( (char *) &thing, n ) ; } ;
@@ -1536,6 +1537,7 @@
return (getNumIndices()<=0) ?
&_ssgIndex0 : indices->get(i);}
+ void removeUnusedVertices();
virtual ~ssgVtxArray (void) ;
virtual const char *getTypeName(void) ;
|