The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
|
A simple perspective camera. More...
#include <camera.h>
Inherits CFirstPersonCamera.
Public Member Functions | |
void | update (float z_far) |
Update the constant buffer from the current values of the camera and a supplied Z-far. | |
cb_param & | parameters () |
Return local cbuffer parameters. | |
const cb_param & | parameters () const |
Return local cbuffer parameters. | |
A simple perspective camera.
This class derives from CFirstPersonCamera in DXUT and simply handles a constant buffer for the camera parameters.