#include <iostream>
#include <fstream>
#include "common/wave_ex.h"
#include "glut-font/glut-font.h"
#include "glut-model/glut-model.h"
#include "perf/perf.h"
#include "util/file.h"
#include "util/token_stream.h"
#include "wave-glut/camera.h"
#include "wave-glut/glut_2d.h"
#include "wave-glut/wave-glut.h"
Go to the source code of this file.
Functions | |
static void | addLight (IN int gl_enum, IN float L, IN float x, IN float y, IN float z, IN float r, IN float g, IN float b) |
static void | setLights (void) |
static void | onDisplay (IN glut::Renderable *model, IN glut::RenderQueue *rq) |
int | main (IN int argc, IN const char *argv[]) |
Variables | |
static const int | s_defaultWidth = 800 |
static const int | s_defaultHeight = 600 |
static int | s_retval = 0 |
static float | s_dist = 5.0 |
static smart_ptr< perf::Timer > | s_overallTimer |
static void addLight | ( | IN int | gl_enum, | |
IN float | L, | |||
IN float | x, | |||
IN float | y, | |||
IN float | z, | |||
IN float | r, | |||
IN float | g, | |||
IN float | b | |||
) | [static] |
Definition at line 44 of file glut-model/test/test.cpp.
static void setLights | ( | void | ) | [static] |
Definition at line 81 of file glut-model/test/test.cpp.
static void onDisplay | ( | IN glut::Renderable * | model, | |
IN glut::RenderQueue * | rq | |||
) | [static] |
Definition at line 114 of file glut-model/test/test.cpp.
int main | ( | IN int | argc, | |
IN const char * | argv[] | |||
) |
Definition at line 320 of file glut-model/test/test.cpp.
const int s_defaultWidth = 800 [static] |
Definition at line 25 of file glut-model/test/test.cpp.
const int s_defaultHeight = 600 [static] |
Definition at line 26 of file glut-model/test/test.cpp.
int s_retval = 0 [static] |
Definition at line 28 of file glut-model/test/test.cpp.
float s_dist = 5.0 [static] |
Definition at line 31 of file glut-model/test/test.cpp.
smart_ptr<perf::Timer> s_overallTimer [static] |
Definition at line 33 of file glut-model/test/test.cpp.