#include <gfxstructures.h>
Public Types | |
| enum | Type { PT_ORTHO, PT_ORTHO_2D } |
Public Member Functions | |
| Projection () | |
| void | SetOrtho (double left, double right, double bottom, double top, double front, double back) |
| void | SetOrtho2D (double left, double right, double bottom, double top) |
| void | SetTranslation (float x, float y, float z) |
| double | GetWidth () |
| double | GetHeight () |
| double | GetLength () |
Public Attributes | |
| Type | type |
| double | left |
| double | right |
| double | bottom |
| double | top |
| double | front |
| double | back |
| float | translation [3] |
| enum Projection::Type |
| Projection::Projection | ( | ) | [inline] |
| void Projection::SetOrtho | ( | double | left, | |
| double | right, | |||
| double | bottom, | |||
| double | top, | |||
| double | front, | |||
| double | back | |||
| ) | [inline] |
| void Projection::SetOrtho2D | ( | double | left, | |
| double | right, | |||
| double | bottom, | |||
| double | top | |||
| ) | [inline] |
| void Projection::SetTranslation | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) | [inline] |
| double Projection::GetWidth | ( | ) | [inline] |
| double Projection::GetHeight | ( | ) | [inline] |
| double Projection::GetLength | ( | ) | [inline] |
| double Projection::left |
| double Projection::right |
| double Projection::bottom |
| double Projection::top |
| double Projection::front |
| double Projection::back |
| float Projection::translation[3] |
1.5.3