Main Page | Class List | File List | Class Members | File Members

render.h

Go to the documentation of this file.
00001 00002 00003 #ifndef __render_h__ 00004 #define __render_h__ 00005 00006 00007 #include "utilities.h" 00008 00009 00010 typedef void(*void_func_void)(void); 00011 00012 00014 void initRenderingContext(int argc, char* argv[]); 00015 00017 void setMainLoopCallback(void_func_void pIdle); 00018 00020 void setRenderCallback(void_func_void pRender); 00021 00023 void getWindowDimensions( vector2i& dim ); 00024 00025 00027 void drawRectangle( const vector2f* pPos, 00028 const vector2f* pDim, 00029 const float* pLineWidth, 00030 const colour4f* pLineColour, 00031 const colour4f* pFillColour); 00032 00034 void beginMainLoop(); 00035 00037 void drawGrid( const vector2i& subdivs, 00038 const vector2f* pPos, 00039 const vector2f* pDim, 00040 const float* pLineWidth, 00041 const colour4f* pLineColour, 00042 const colour4f* pFillColour); 00043 00044 00045 #endif 00046 00047 00048

Generated on Sun Mar 6 22:11:24 2005 for experiment03 by doxygen 1.3.7