sphore 0.0.1
SPH openGL rendering engine

_viewport Struct Reference

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

Detailed Description

Internal storage for viewports.


Field Documentation

The x coordinante of bottom left corner of the viewport in normalised device coordinants.

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.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines