#include <ViewPort.h>
Inheritance diagram for ViewPort:
Public Member Functions | |
ViewPort (int x=1, int y=1, int w=1, int h=1) | |
void | setViewPort () |
void | setViewPort (int x, int y, int w, int h) |
void | resetViewPort () |
void | flipYAxis (int &y) |
Public Attributes | |
int | x |
int | y |
int | h |
int | w |
|
|
|
Turn the y axis upside down |
|
Pop the viewport bit from the stack. |
|
|
|
Setup a viewport defined by the class members using the glViewport call. The current viewport bit is pushed to the stack |
|
|
|
|
|
|
|
|