#include <camera.h>
Public Member Functions | |
| ViewportClass (void) | |
| ViewportClass (const Vector2 &min, const Vector2 &max) | |
| ViewportClass (const ViewportClass &vp) | |
| float | Width (void) const |
| float | Height (void) const |
Public Attributes | |
| Vector2 | Min |
| Vector2 | Max |
ViewportClass This class is used to define a "normalized" screen space rectangle for the camera to render into. A viewport which filled the entire screen would be (0,0) - (1,1) with 0,0 being the upper left and 1,1 being the lower right.
|
inline |