|
Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <cassert>#include <Ult/DynamicModel.h>#include <Ult/GeometryNode.h>#include <Ult/Input.h>#include <Ult/Math/Vector3D.h>#include <Ult/Renderer/OpenGLRenderer.h>#include <Ult/SceneGraph.h>#include <Ult/Shapes/Shapes.h>Macros | |
| #define | WINDOW_NAME "LOD 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 () |
| #define WINDOW_CLASS "UPGCLASS" |
| #define WINDOW_FULLSCREEN 0 |
| #define WINDOW_HEIGHT 600 |
| #define WINDOW_NAME "LOD Test" |
| #define WINDOW_WIDTH 800 |
| bool DemoInitialize | ( | Ult::RenderParams & | params | ) |
| void DemoRender | ( | ) |
| void DemoResize | ( | int | width, |
| int | height ) |
| void DemoShutdown | ( | ) |
| void DemoUpdate | ( | ) |
| int main | ( | ) |
| Ult::Handle<Ult::ModelResourceTag> gBoxDataHandle |
| Ult::Vector3D gCameraPos(0, 0,-5) | ( | 0 | , |
| 0 | , | ||
| - | 5 ) |
| Ult::DynamicModel gGameModel |
| ULT_MODEL_RESOURCE_MANAGER gModelManager |
| bool gQuitDemo = false |
| Ult::OpenGLRenderer gRender |
| Ult::SceneGraph gSceneGraph |
| Ult::Vector3D gSpherePos |