#include "stdafx.h"
#include "ThirdPersonCamera.h"
#include <random.h>
#include <stdio.h>
Functions | |
Vector | SkyColor (0, 0, 0) |
Vector | LightPos (0, 5,-5) |
Vector | LightColor (4.6, 4.6, 5.1) |
Vector | LightPos2 (1,-10,-1) |
Vector | LightColor2 (5.6, 5.7, 6) |
void | drawFrameRate (char *str, void *font, GLclampf r, GLclampf g, GLclampf b, GLfloat x, GLfloat y) |
void | calculateFrameRate () |
void | RenderPhaseTexture () |
void | idle () |
void | getExts (void) |
void | specialkey (int key, int x, int y) |
void | initOpenGL () |
int | _tmain (int argc, _TCHAR *argv[]) |
Variables | |
Scene | theScene |
ThirdPersonCamera | theCamera |
PreIllumSystem * | theSystem |
bool | headsup = true |
bool | anim_on = false |
char * | therendermode |
int | rendermode = 0 |
SkyBox | theSkyBox |
float | lightposangle1 = 0.4 |
float | lightposangle2 = 1.2 |
bool | isrecording = false |
int | framenum |
Vector | positions [2] |
float | angle = 0 |
unsigned int | lastTime |
unsigned int | frameRate = 0 |
unsigned int | frameRateLast = 0 |
unsigned int | timeElapsed |
unsigned int | LastDtTime = 0 |
unsigned int | Dt = 0 |
bool | start = true |
int | direction = 0 |
Impostor | ScreenQuad |
RenderTexture | PhaseTexture |
CgProgram | PhaseProgram |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|