#include "config.h"Go to the source code of this file.
Variables | |
| float | ModelViewMatrix [16] | 
| float | g_fTorusX = 0 g_fTorusY = 0 | 
| const char * | g_strResourceDir = "../resource/" | 
| int | g_hfW = 1024 | 
| int | g_hfH = 1024 | 
| const char * | g_strHeightFieldFile = "hf.raw_1024x1024_bw_float" | 
| bool | g_bLighting = true | 
| bool | g_bFrameRate = true | 
| bool | g_bBlinnPhong = true | 
| bool | g_bPerPixelLighting = false | 
| float | g_specularExponent = 10 | 
| const float | g_lightPos [4] = { 3, 3, -3, 0} | 
| float | g_lightPosEye [4] | 
| const int | g_nTimerDelay = 50 | 
| const float | colorWhite [4] = { 1.0, 1.0, 1.0, 1.0 } | 
| const float | colorBlue [4] = { 0,0,1,1 } | 
| const float | colorRed [4] = { 1,0,0,1 } | 
| const float | colorYellow [4] = { 1,1,0,1 } | 
| const float | colorGreen [4] = { 0.0, 1, 0.0, 1.0 } | 
| const float | colorDarkGreen [4] = { 0.0, 0.5, 0.0, 1.0 } | 
| const float | colorNone [4] = { 0.0, 0.0, 0.0, 0.0 } | 
| const float | colorDarkGrey [4] = { 0.2, 0.2, 0.2, 0.0 } | 
| const float | colorDarkYellow [4] = { 0.6, 0.6, 0.0, 0.0 } | 
| const float | colorDarkRed [4] = { 0.5, 0.0, 0.0, 0.0 } | 
| const float | colorDarkBrown [4] = { 0.5, 0.3, 0.0, 0.0 } | 
| const float | colorSky [4] = { 0.3, 0.4, 0.8, 0.0 } | 
      
  | 
  
| 
 
 Definition at line 41 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 50 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 45 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 47 of file config.cpp. Referenced by display().  | 
  
      
  | 
  
| 
 
 Definition at line 49 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 48 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 44 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 46 of file config.cpp. Referenced by setDiffuseMaterialColor(), and setProgramMaterialColor().  | 
  
      
  | 
  
| 
 
 Definition at line 42 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 51 of file config.cpp. Referenced by display().  | 
  
      
  | 
  
| 
 
 Definition at line 40 of file config.cpp. Referenced by display(), and setProgramMaterialColor().  | 
  
      
  | 
  
| 
 
 Definition at line 43 of file config.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 23 of file config.cpp. Referenced by setProgramMaterialColor(), and special().  | 
  
      
  | 
  
| 
 
 Definition at line 22 of file config.cpp. Referenced by display(), and selectFromMenu().  | 
  
      
  | 
  
| 
 
 Definition at line 21 of file config.cpp. Referenced by renderScene(), and selectFromMenu().  | 
  
      
  | 
  
| 
 
 Definition at line 24 of file config.cpp. Referenced by drawTorus(), setProgramMaterialColor(), and special().  | 
  
      
  | 
  
| 
 
 Definition at line 6 of file config.cpp. Referenced by drawTorus(), and timerCallback().  | 
  
      
  | 
  
| 
 
 Definition at line 15 of file config.cpp. Referenced by gethf(), initGL(), and initHeightField().  | 
  
      
  | 
  
| 
 
 Definition at line 13 of file config.cpp. Referenced by gethf(), initGL(), and initHeightField().  | 
  
      
  | 
  
| 
 
 Definition at line 32 of file config.cpp. Referenced by display(), drawTorus(), and setupCamera().  | 
  
      
  | 
  
| 
 
 Definition at line 33 of file config.cpp. Referenced by drawTorus(), and setupCamera().  | 
  
      
  | 
  
| 
 
 Definition at line 36 of file config.cpp. Referenced by main(), and timerCallback().  | 
  
      
  | 
  
| 
 
 Definition at line 27 of file config.cpp. Referenced by keyboard(), and setProgramMaterialColor().  | 
  
      
  | 
  
| 
 
 Definition at line 17 of file config.cpp. Referenced by initGL(), and initHeightField().  | 
  
      
  | 
  
| 
 
 Definition at line 10 of file config.cpp. Referenced by initHeightField(), and initTextures().  | 
  
      
  | 
  
| 
 
 Definition at line 3 of file config.cpp. Referenced by display(), and drawTorus().  | 
  
 1.3.6