|
Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <cassert>#include <Ult/Input.h>#include <Ult/ModelData.h>#include <Ult/Renderer/OpenGLRenderer.h>#include <Ult/Shapes/Shapes.h>Classes | |
| struct | stVertex |
Macros | |
| #define | WINDOW_NAME "Bump Mapping Test" |
| #define | WINDOW_CLASS "UPGCLASS" |
| #define | WINDOW_WIDTH 800 |
| #define | WINDOW_HEIGHT 600 |
| #define | WINDOW_FULLSCREEN 0 |
Functions | |
| void | DemoResize (int width, int height) |
| bool | DemoInitialize (Ult::RenderParams ¶ms) |
| void | DemoUpdate () |
| void | DemoRender () |
| void | DemoShutdown () |
| int | main () |
Variables | |
| stVertex | gBoxData [] |
| unsigned int | gBoxIndices [36] |
| int | gNumBoxIndices = 36 |
| Ult::VertexDescriptor | gDesc |
| Ult::OpenGLRenderer | gRender |
| Ult::Texture | gTex |
| Ult::Texture | gTex2 |
| Ult::ShaderHandle | gShader |
| Ult::ParameterHandle | gDecalParam |
| Ult::ParameterHandle | gBumpParam |
| Ult::ParameterHandle | gLightPos |
| Ult::ParameterHandle | gLightCol |
| int | gXRot = 0 |
| int | gOldXRot = 0 |
| int | gYRot = 0 |
| int | gOldYRot = 0 |
| bool | gQuitDemo = false |
| #define WINDOW_CLASS "UPGCLASS" |
| #define WINDOW_FULLSCREEN 0 |
| #define WINDOW_HEIGHT 600 |
| #define WINDOW_NAME "Bump Mapping Test" |
| #define WINDOW_WIDTH 800 |
| bool DemoInitialize | ( | Ult::RenderParams & | params | ) |
| void DemoRender | ( | ) |
| void DemoResize | ( | int | width, |
| int | height ) |
| void DemoShutdown | ( | ) |
| void DemoUpdate | ( | ) |
| int main | ( | ) |
| stVertex gBoxData[] |
| unsigned int gBoxIndices[36] |
| Ult::ParameterHandle gBumpParam |
| Ult::ParameterHandle gDecalParam |
| Ult::VertexDescriptor gDesc |
| Ult::ParameterHandle gLightCol |
| Ult::ParameterHandle gLightPos |
| int gNumBoxIndices = 36 |
| int gOldXRot = 0 |
| int gOldYRot = 0 |
| bool gQuitDemo = false |
| Ult::OpenGLRenderer gRender |
| Ult::ShaderHandle gShader |
| Ult::Texture gTex |
| Ult::Texture gTex2 |
| int gXRot = 0 |
| int gYRot = 0 |