Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <cassert>
#include <Ult/Effect/TextureShader.h>
#include <Ult/GeometryNode.h>
#include <Ult/Input.h>
#include <Ult/Physics/CollisionResponse.h>
#include <Ult/Physics/PhysicsSpace.h>
#include <Ult/Physics/PointMass.h>
#include <Ult/Physics/Spring.h>
#include <Ult/Renderer/OpenGLRenderer.h>
#include <Ult/SceneGraph.h>
#include <Ult/Shapes/Shapes.h>
#include <Ult/Timer.h>
Classes | |
struct | stClothVertex |
class | Cloth |
Macros | |
#define | WINDOW_NAME "Cloth 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 | |
Cloth | gCloth |
Ult::ModelData | gObject |
float | gSpherePos [3] = {0,-2,0} |
float | gSphereRadius = 3.0f |
Ult::ShaderHandle | gShader |
Ult::ParameterHandle | gLightPos |
Ult::ParameterHandle | gLightCol |
Ult::PhysicsSpace | g3dSpace |
float | gLastTime = 0.0f |
float | gCurrentTime = 0.0f |
int | gXRot = 0 |
int | gOldXRot = 0 |
int | gYRot = 0 |
int | gOldYRot = 0 |
Ult::OpenGLRenderer | gRender |
bool | gQuitDemo = false |
#define WINDOW_CLASS "UPGCLASS" |
#define WINDOW_FULLSCREEN 0 |
#define WINDOW_HEIGHT 600 |
#define WINDOW_NAME "Cloth 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::PhysicsSpace g3dSpace |
Cloth gCloth |
float gCurrentTime = 0.0f |
float gLastTime = 0.0f |
Ult::ParameterHandle gLightCol |
Ult::ParameterHandle gLightPos |
Ult::ModelData gObject |
int gOldXRot = 0 |
int gOldYRot = 0 |
bool gQuitDemo = false |
Ult::OpenGLRenderer gRender |
Ult::ShaderHandle gShader |
float gSpherePos[3] = {0,-2,0} |
float gSphereRadius = 3.0f |
int gXRot = 0 |
int gYRot = 0 |