My Project
|
Camera. More...
#include <Camera.h>
Public Member Functions | |
CCamera (int screenWidth, int screenHeight) | |
Constructor. | |
~CCamera () | |
Destructor. | |
void | SetupGUI2DCamera () |
Sets up the graphical user interface 2 d camera. | |
void | SetupGUI3DCamera () |
Sets up the graphical user interface 3 d camera. | |
void | StartRender () |
Starts a render. | |
RECT | SetupScissorRect (RECT &rect) |
Sets up the scissor rectangle. | |
void | DisableScissorRect () |
Disables the scissor rectangle. | |
RECT | GetScissorRect () |
Gets the scissor rectangle. |
Camera.
CCamera::CCamera | ( | int | screenWidth, |
int | screenHeight | ||
) |
Constructor.
screenWidth | Width of the screen. |
screenHeight | Height of the screen. |
Destructor.
void CCamera::DisableScissorRect | ( | ) |
Disables the scissor rectangle.
RECT CCamera::GetScissorRect | ( | ) |
Gets the scissor rectangle.
void CCamera::SetupGUI2DCamera | ( | ) |
Sets up the graphical user interface 2 d camera.
void CCamera::SetupGUI3DCamera | ( | ) |
Sets up the graphical user interface 3 d camera.
RECT CCamera::SetupScissorRect | ( | RECT & | rect | ) |
Sets up the scissor rectangle.
[in,out] | rect | The rectangle. |
void CCamera::StartRender | ( | ) |
Starts a render.