#include <CDisplayDraw.h>
Inheritance diagram for CDisplayDraw:
Public Member Functions | |
CDisplayDraw () | |
Default constructor. | |
~CDisplayDraw () | |
Default destructor. | |
zint | Init (zulong width, zulong height) |
Inits the rendering system. | |
zint | RenderDisplay () |
Renders the display. | |
zint | ResizeDisplay () |
Actions to be done when the windows is resized. | |
zint | Idle () |
Idle function. | |
CMatrix | SetProjectionMatrix (zfloat l, zfloat r, zfloat b, zfloat t, zfloat n, zfloat f) |
Sets the projection matrix and the 6 frustum planes. | |
CMatrix | SetProjectionMatrix (zfloat fov, zfloat aspect, zfloat near, zfloat far) |
Sets the projection matrix and the 6 frustum planes. | |
CMatrix | GetProjectionMatrix () |
returns projection matrix | |
CFrustum | GetFrustum () |
Returns the frustum. | |
zint | SetKeyboard (CKeyboard keyboard) |
Sets the keyboard object. | |
CKeyboard * | GetKeyboard () |
Gets the keyboard object. |
display drawing class
|
Default constructor.
|
|
Default destructor.
|
|
Returns the frustum.
|
|
Gets the keyboard object.
|
|
returns projection matrix
|
|
Idle function.
|
|
Inits the rendering system.
|
|
Renders the display.
|
|
Actions to be done when the windows is resized.
|
|
Sets the keyboard object.
|
|
Sets the projection matrix and the 6 frustum planes.
|
|
Sets the projection matrix and the 6 frustum planes. l = left, r 0 right, b = bottom, t = top, n = near, f = far |