|
CGVIS Utils
|
Simple pixel/viewport dimensions with an aspect ratio helper. More...
#include <GLDebug.h>
Public Member Functions | |
| float | aspect () const |
| Aspect ratio as width/height. | |
Public Attributes | |
| uint32_t | width |
| Width in pixels/texels. | |
| uint32_t | height |
| Height in pixels/texels. | |
Simple pixel/viewport dimensions with an aspect ratio helper.
|
inline |
Aspect ratio as width/height.
| uint32_t Dimensions::height |
Height in pixels/texels.
| uint32_t Dimensions::width |
Width in pixels/texels.