Darc Library
2012.11
|
#include <px_camera.h>
Public Member Functions | |
PX_Camera () | |
DCR | initCamera (PX_DI_MouseController *_mc, DIKeyboardScanner *_kc) |
virtual DCR | update (float _t)=0 |
Matrix4D | getCameraMatrix () |
Matrix4D | getTransformationMatrix () |
virtual | ~PX_Camera () |
Protected Attributes | |
PX_DI_MouseController * | m_MouseCon |
DIKeyboardScanner * | m_KeyboardCon |
Matrix4D | m_mTransform |
float | fRy_v |
float | fRx_v |
float | fRz_a |
Left-handed camera class. Viewport origin is lower left corner. Camera transformation based on Yaw (y), Pitch (x), and Roll (z) angles.
darc::protox::PX_Camera::PX_Camera | ( | ) | [inline] |
virtual darc::protox::PX_Camera::~PX_Camera | ( | ) | [inline, virtual] |
Matrix4D darc::protox::PX_Camera::getCameraMatrix | ( | ) | [inline] |
Matrix4D darc::protox::PX_Camera::getTransformationMatrix | ( | ) | [inline] |
DCR darc::protox::PX_Camera::initCamera | ( | PX_DI_MouseController * | _mc, |
DIKeyboardScanner * | _kc | ||
) | [inline] |
virtual DCR darc::protox::PX_Camera::update | ( | float | _t | ) | [pure virtual] |
Implemented in darc::protox::PX_Camera_Ghost, darc::protox::PX_Camera_Temp, and darc::protox::PX_Camera_Shooter.
float darc::protox::PX_Camera::fRx_v [protected] |
float darc::protox::PX_Camera::fRy_v [protected] |
float darc::protox::PX_Camera::fRz_a [protected] |
DIKeyboardScanner* darc::protox::PX_Camera::m_KeyboardCon [protected] |
PX_DI_MouseController* darc::protox::PX_Camera::m_MouseCon [protected] |
Matrix4D darc::protox::PX_Camera::m_mTransform [protected] |