Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gl.h

00001 //FILE:         gl.h
00002 //AUTHOR:       Nathan Cournia <nathan@courina.com>
00003 
00004 #ifndef COURNIA_GL_H
00005 #define COURNIA_GL_H 1
00006 
00007 #ifdef WIN32
00008 #define WIN32_LEAN_AND_MEAN
00009 #include <windows.h>
00010 #endif
00011 
00012 #include <GL/gl.h>
00013 #include <GL/glu.h>
00014 #include "texture.h"
00015 
00017 namespace gl {
00019 
00022         void init( unsigned int width, unsigned int height );
00023 
00025 
00030         void enable_2d( GLsizei width, GLsizei height );
00031 
00033         void disable_2d( void );
00034 
00036         void render_image( const rectf& rect, const gl::texture& tex );
00037 }
00038 
00039 #endif

Generated on Tue Feb 11 18:49:41 2003 for uber by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002