#include <lvt/Camera.h>
Inheritance diagram for OrthographicCamera:

Public Member Functions | |
| virtual void | FitToWnd (int width, int height) |
| Adjusts the camera to fit the shape of a window. | |
| virtual void | Render () |
| "Draws" the camera | |
| void | SetOrtho (float left, float right, float bottom, float top, float near, float far) |
| Sets the Orthographic projection parameters. | |
|
||||||||||||
|
Adjusts the camera to fit the shape of a window. When a camera is attached to a Wnd via Wnd::AdjustCamera, the Wnd object will call this member function when it is resized. It is not usually necessary to call this method manually. Implements Camera. |
|
|
"Draws" the camera Sets the view on the scene, and initializes the OpenGL projection matrix. Implements Camera. |
|
||||||||||||||||||||||||||||
|
Sets the Orthographic projection parameters. The arguments are the same as those to the glOrtho function. |
1.4.1