TestApp

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addBoxEntity
PhysicsEntity addBoxEntity(Vector3f pos)
Undocumented in source. Be warned that the author may not have intended to support it.
addDrawable
void addDrawable(Drawable d)
Undocumented in source. Be warned that the author may not have intended to support it.
buildPyramid
void buildPyramid(uint pyramidSize)
Undocumented in source. Be warned that the author may not have intended to support it.
cameraDir
Vector3f cameraDir(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
cameraMousePoint
Vector3f cameraMousePoint(float dist)
Undocumented in source. Be warned that the author may not have intended to support it.
cameraPoint
Vector3f cameraPoint(float x, float y, float dist)
Undocumented in source. Be warned that the author may not have intended to support it.
cameraRay
Ray cameraRay(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
drawWireframe
void drawWireframe(Drawable drw, double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseDir
Vector3f mouseDir()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseRay
Ray mouseRay()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseRay
Ray mouseRay(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyDown
void onKeyDown(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButtonDown
void onMouseButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onRedraw
void onRedraw()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
pickEntity
PhysicsEntity pickEntity(Ray r)
Undocumented in source. Be warned that the author may not have intended to support it.
updateCamera
void updateCamera()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

fixedTimeStep
enum fixedTimeStep;
Undocumented in source.

Variables

aspectRatio
float aspectRatio;
Undocumented in source.
axes
Axes axes;
Undocumented in source.
camera
TrackballCamera camera;
Undocumented in source.
dragDistance
float dragDistance;
Undocumented in source.
drawables
DynamicArray!Drawable drawables;
Undocumented in source.
entities
DynamicArray!PhysicsEntity entities;
Undocumented in source.
font
Font font;
Undocumented in source.
fovY
float fovY;
Undocumented in source.
fpsText
TextLine fpsText;
Undocumented in source.
gBox
GeomBox gBox;
Undocumented in source.
gFloor
GeomBox gFloor;
Undocumented in source.
grid
Grid grid;
Undocumented in source.
lightPosition
Vector4f lightPosition;
Undocumented in source.
materials
DynamicArray!Material materials;
Undocumented in source.
maxPickDistance
float maxPickDistance;
Undocumented in source.
prevMouseX
int prevMouseX;
Undocumented in source.
prevMouseY
int prevMouseY;
Undocumented in source.
sBox
ShapeBox sBox;
Undocumented in source.
selectedEntity
PhysicsEntity selectedEntity;
Undocumented in source.
time
double time;
Undocumented in source.
world
PhysicsWorld world;
Undocumented in source.

Inherited Members

From Application

clearColor
Color4f clearColor;
Undocumented in source.
exitOnEscapePress
bool exitOnEscapePress;
Undocumented in source.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
onRedraw
void onRedraw()
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyDown
void onKeyDown(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
exit
void exit()
Undocumented in source. Be warned that the author may not have intended to support it.
onResize
void onResize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
~this
~this()
Undocumented in source.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta