Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

config.h

Go to the documentation of this file.
00001 //
00002 // All display parameters are collected here.
00003 //
00004 
00005 extern float ModelViewMatrix[16];
00006 
00007 extern float g_fTorusX, g_fTorusY;
00008 
00009 // Base resource directory
00010 extern const char *g_strResourceDir;
00011 
00012 // Height field width
00013 extern int g_hfW;
00014 // Height field height
00015 extern int g_hfH;
00016 // Height field filename
00017 extern const char *g_strHeightFieldFile;
00018 
00019 
00020 // Draw style flags
00021 extern bool g_bLighting;
00022 extern bool g_bFrameRate;
00023 extern bool g_bBlinnPhong;
00024 extern bool g_bPerPixelLighting;
00025 
00026 
00027 // Specular exponent for torus material
00028 extern float g_specularExponent;
00029 
00030 
00031 // Time after which the scene is redrawn (in ms)
00032 extern const int g_nTimerDelay;
00033 
00034 // Position of "sun" (world coordinates)
00035 extern const float g_lightPos[4];
00036 // Position of "sun" in eye coordinates
00037 extern float g_lightPosEye[4];
00038 
00039 // Camera data (updated per frame)
00040 extern float g_fViewDistance;
00041 
00042 
00043 // Some colors
00044 extern const float colorWhite[4];
00045 extern const float colorBlue[4];
00046 extern const float colorRed[4];
00047 extern const float colorGreen[4];
00048 extern const float colorRed[4];
00049 extern const float colorYellow[4];
00050 extern const float colorDarkGreen[4];
00051 extern const float colorNone[4];
00052 extern const float colorDarkGrey[4];
00053 extern const float colorDarkYellow[4];
00054 extern const float colorDarkRed[4];
00055 extern const float colorDarkBrown[4];
00056 extern const float colorSky[4];

Generated on Thu Jan 20 02:47:12 2005 for Projective_Texture_Effect_Demo by doxygen 1.3.6