sphore 0.0.1
SPH openGL rendering engine
|
Internal storage for viewports. More...
Data Fields | |
SREbool | keep_aspect |
Indicate wheather the viewport should be adjusted to maintain aspect ratio of device size change. | |
float | bottom_left_x |
The x coordinante of bottom left corner of the viewport in normalised device coordinants. | |
float | bottom_left_y |
The y coordinante of bottom left corner of the viewport in normalised device coordinants. | |
float | width |
The width of the viewport in normalised device coordinants. | |
float | height |
Internal storage for viewports.
float bottom_left_x |
The x coordinante of bottom left corner of the viewport in normalised device coordinants.
float bottom_left_y |
The y coordinante of bottom left corner of the viewport in normalised device coordinants.
float height |
The height of the viewport in normalised device coordinants.
Indicate wheather the viewport should be adjusted to maintain aspect ratio of device size change.
float width |
The width of the viewport in normalised device coordinants.