Change projection w/keyboard

This commit is contained in:
PedroEdiaz
2024-10-22 23:07:30 -06:00
parent 6727c5fa9a
commit 2a5a101080
7 changed files with 140 additions and 48 deletions

View File

@@ -4,9 +4,6 @@
void set_clean_color_context( unsigned char r, unsigned char g, unsigned char b )
{
glEnable( GL_DEPTH_TEST );
glEnable( GL_CULL_FACE );
glCullFace( GL_BACK );
glClearColor( (float)r/0xff, (float)g/0xff, (float)b/0xff, 1.0 );
}