gfx_defs.hh

Go to the documentation of this file.
00001 /*
00008  * LEGAL:   COPYRIGHT (C) 2004 JIM E. BROOKS
00009  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00010  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00011  *****************************************************************************/
00012 
00013 #ifndef GFX_DEFS_HH
00014 #define GFX_DEFS_HH 1
00015 
00016 namespace gfx {
00017 
00020 namespace defs {
00021 
00022 enum        { XX, YY, ZZ, WW };                                 
00023 enum        { AXIS_X, AXIS_Y, AXIS_Z, AXIS_INVALID = INT_MAX }; 
00024 enum        { NW, SW, SE, NE };                                 
00025 enum        { WIDTH, HEIGHT, DEPTH };                           
00026 const uint  MAX_POLYGONS                    = 0x7fff - 0x10;    
00027 const uint  MAX_VERTEXS                     = MAX_POLYGONS;     
00028 const uint  MAX_VERTEXS_PER_POLYGON         = 4;                
00029 const uint  DEFAULT_TIMER_TICK_MILLISECONDS     = 10;           
00030 const uint  DEFAULT_KEYBOARD_TICK_MILLISECONDS  = 20;           
00031 const uint  DEFAULT_JOYSTICK_TICK_MILLISECONDS  = 20;           
00032 
00033 } // namespace defs
00034 } // namespace gfx
00035 
00036 using namespace gfx::defs;
00037 
00038 #endif // GFX_DEFS_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:10 2007