Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
testLod.cpp File Reference
#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 &params)
 
void DemoUpdate ()
 
void DemoRender ()
 
void DemoShutdown ()
 
int main ()
 

Variables

Ult::DynamicModel gGameModel
 
Ult::Handle< Ult::ModelResourceTaggBoxDataHandle
 
ULT_MODEL_RESOURCE_MANAGER gModelManager
 
Ult::SceneGraph gSceneGraph
 
Ult::Vector3D gCameraPos (0, 0,-5)
 
Ult::Vector3D gSpherePos
 
Ult::OpenGLRenderer gRender
 
bool gQuitDemo = false
 

Macro Definition Documentation

◆ WINDOW_CLASS

#define WINDOW_CLASS   "UPGCLASS"

◆ WINDOW_FULLSCREEN

#define WINDOW_FULLSCREEN   0

◆ WINDOW_HEIGHT

#define WINDOW_HEIGHT   600

◆ WINDOW_NAME

#define WINDOW_NAME   "LOD Test"

◆ WINDOW_WIDTH

#define WINDOW_WIDTH   800

Function Documentation

◆ DemoInitialize()

bool DemoInitialize ( Ult::RenderParams & params)

◆ DemoRender()

void DemoRender ( )

◆ DemoResize()

void DemoResize ( int width,
int height )

◆ DemoShutdown()

void DemoShutdown ( )

◆ DemoUpdate()

void DemoUpdate ( )

◆ main()

int main ( )

Variable Documentation

◆ gBoxDataHandle

◆ gCameraPos

Ult::Vector3D gCameraPos(0, 0,-5) ( 0 ,
0 ,
- 5 )

◆ gGameModel

Ult::DynamicModel gGameModel

◆ gModelManager

◆ gQuitDemo

bool gQuitDemo = false

◆ gRender

◆ gSceneGraph

Ult::SceneGraph gSceneGraph

◆ gSpherePos

Ult::Vector3D gSpherePos