Update of /cvsroot/plib/plib/src/ssg
In directory usw-pr-cvs1:/tmp/cvs-serv26519/plib/src/ssg
Modified Files:
ssg.h
Log Message:
Added much tweakability and ease-of-setup to ssgaFire.
Index: ssg.h
===================================================================
RCS file: /cvsroot/plib/plib/src/ssg/ssg.h,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- ssg.h 4 Aug 2002 05:53:44 -0000 1.142
+++ ssg.h 28 Aug 2002 04:58:03 -0000 1.143
@@ -443,6 +443,11 @@
int getSizeOf (void) { return size_of ; }
int getNum (void) { return total ; }
+ void rawSetNum ( unsigned int n ) /* Better know what you're doing!! */
+ {
+ total = n ;
+ }
+
void setNum ( unsigned int n )
{
if ( total < n )
@@ -1413,6 +1418,9 @@
int getNumNormals () { return normals -> getNum () ; }
int getNumColours () { return colours -> getNum () ; }
int getNumTexCoords () { return texcoords -> getNum () ; }
+
+ /* Don't call this unless you know what you are doing!! */
+ void rawSetNumVertices ( unsigned int n ) { vertices -> rawSetNum ( n ) ; }
int getNumTriangles () ;
void getTriangle ( int n, short *v1, short *v2, short *v3 ) ;
|