Update of /cvsroot/plib/plib/examples/src/sg
In directory usw-pr-cvs1:/tmp/cvs-serv6971/sg
Modified Files:
sg_quat_test.cxx
Log Message:
Mac OS-X compatibility; Minor cleanups
Index: sg_quat_test.cxx
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/sg/sg_quat_test.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sg_quat_test.cxx 2 Oct 2000 18:07:39 -0000 1.5
+++ sg_quat_test.cxx 1 Sep 2002 06:57:58 -0000 1.6
@@ -27,26 +27,35 @@
Written by Michael Kurth (ku...@fu...) (neg...@ea...)
*/
#ifdef WIN32
-#include <windows.h>
+# include <windows.h>
#else
-#include <unistd.h>
+# include <unistd.h>
#endif
-#include <GL/glut.h>
[...123 lines suppressed...]
-void Reshape( int w, int h )
+static void Reshape( int w, int h )
{
if( h == 0 )
@@ -237,7 +246,7 @@
glLoadIdentity( ) ;
}
-void Init( void )
+static void Init( void )
{
glClearColor( 0.0, 0.0, 0.0, 0.0 ) ;
@@ -275,3 +284,4 @@
glutMainLoop( ) ;
return 0 ;
}
+
|