Style normalizations: Removed CRs and hard TABs mostly.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@337 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
864ea93df3
commit
48f65ac54d
@ -125,7 +125,7 @@ void SampleDisplay( void )
|
||||
/*
|
||||
* Don't forget about the model-view matrix
|
||||
*/
|
||||
glPopMatrix();
|
||||
glPopMatrix( );
|
||||
|
||||
/*
|
||||
* Draw a silly text
|
||||
@ -138,7 +138,7 @@ void SampleDisplay( void )
|
||||
/*
|
||||
* And swap this context's buffers
|
||||
*/
|
||||
glutSwapBuffers();
|
||||
glutSwapBuffers( );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -150,7 +150,7 @@ void SampleIdle( void )
|
||||
|
||||
if( g_LeaveGameMode == 1 )
|
||||
{
|
||||
glutLeaveGameMode();
|
||||
glutLeaveGameMode( );
|
||||
g_LeaveGameMode = 0;
|
||||
g_InGameMode = 0;
|
||||
}
|
||||
@ -181,7 +181,7 @@ void SampleReshape( int nWidth, int nHeight )
|
||||
* Move back the camera a bit
|
||||
*/
|
||||
glMatrixMode( GL_MODELVIEW );
|
||||
glLoadIdentity();
|
||||
glLoadIdentity( );
|
||||
glTranslatef( 0.0, 0.0, -40.0f );
|
||||
|
||||
/*
|
||||
@ -209,7 +209,8 @@ void SampleReshape( int nWidth, int nHeight )
|
||||
*/
|
||||
void SampleKeyboard( unsigned char cChar, int nMouseX, int nMouseY )
|
||||
{
|
||||
printf( "SampleKeyboard(): keypress '%c' at (%i,%i)\n", cChar, nMouseX, nMouseY );
|
||||
printf( "SampleKeyboard(): keypress '%c' at (%i,%i)\n",
|
||||
cChar, nMouseX, nMouseY );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -227,7 +228,8 @@ void SampleGameModeKeyboard( unsigned char cChar, int nMouseX, int nMouseY )
|
||||
*/
|
||||
void SampleSpecial( int nSpecial, int nMouseX, int nMouseY )
|
||||
{
|
||||
printf( "SampleSpecial(): special keypress %i at (%i,%i)\n", nSpecial, nMouseX, nMouseY );
|
||||
printf( "SampleSpecial(): special keypress %i at (%i,%i)\n",
|
||||
nSpecial, nMouseX, nMouseY );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -321,7 +323,7 @@ int main( int argc, char** argv )
|
||||
/*
|
||||
* This is never reached in FreeGLUT. Is that good?
|
||||
*/
|
||||
return( EXIT_SUCCESS );
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
/*** END OF FILE ***/
|
||||
|
Reference in New Issue
Block a user