[Plib-cvs] plib/src/ssg ssgLoaderWriterStuff.h,1.22,1.23 ssgLoadVRML.h,1.12,1.13
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2004-05-04 12:35:54
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10658 Modified Files: ssgLoaderWriterStuff.h ssgLoadVRML.h Log Message: Changes by "Simon" to make it compile on Macintosh. See plib devel mailing list, mail of 3.5.2004. Index: ssgLoaderWriterStuff.h =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoaderWriterStuff.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- ssgLoaderWriterStuff.h 2 Sep 2002 06:05:48 -0000 1.22 +++ ssgLoaderWriterStuff.h 4 May 2004 12:35:15 -0000 1.23 @@ -51,7 +51,7 @@ public: virtual ssgBase *clone ( int clone_flags = 0 ) { return NULL; }; // Fixme NIV14: 2do - ssgListOfLists ( int init = 3 ) : ssgSimpleList ( sizeof(class ssgSimpleList*), init ) {} + ssgListOfLists ( int init = 3 ) : ssgSimpleList ( sizeof(ssgSimpleList*), init ) {} class ssgSimpleList **get ( unsigned int n ) { return (class ssgSimpleList **) raw_get ( n ) ; } void add ( class ssgSimpleList **thing ) { raw_add ( (char *) thing ) ; } ; void set ( class ssgSimpleList **thing, unsigned int n ) { raw_set ( (char *) thing, n ) ; } ; @@ -67,7 +67,7 @@ public: virtual ssgBase *clone ( int clone_flags = 0 ) { return NULL; }; // Fixme NIV14: 2do - ssgSimpleStateList( int init = 3 ) : ssgSimpleList ( sizeof(class ssgSimpleState*), init ) {} + ssgSimpleStateList( int init = 3 ) : ssgSimpleList ( sizeof(ssgSimpleState*), init ) {} class ssgSimpleState **get ( unsigned int n ) { return (class ssgSimpleState **) raw_get ( n ) ; } void add ( class ssgSimpleState **thing ) { raw_add ( (char *) thing ) ; } ; void set ( class ssgSimpleState **thing, unsigned int n ) { raw_set ( (char *) thing, n ) ; } ; Index: ssgLoadVRML.h =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadVRML.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- ssgLoadVRML.h 2 Sep 2002 06:05:48 -0000 1.12 +++ ssgLoadVRML.h 4 May 2004 12:35:15 -0000 1.13 @@ -26,7 +26,7 @@ public: virtual ssgBase *clone ( int clone_flags = 0 ) { return NULL; }; // Fixme NIV14: 2do - ssgListOfNodes ( int init = 3 ) : ssgSimpleList ( sizeof(class ssgBase*), init ) {} + ssgListOfNodes ( int init = 3 ) : ssgSimpleList ( sizeof(ssgBase*), init ) {} class ssgBase *get ( unsigned int n ) { return *( (class ssgBase **) raw_get ( n ) ) ; } void add ( class ssgBase *thing ) { raw_add ( (char *) &thing ) ; } ; void replace( class ssgBase *thing, unsigned int n ) { raw_set( (char *) &thing, n); } |