xrt: Add xrt_size struct

This commit is contained in:
Jakob Bornecrantz 2019-09-29 15:29:56 +01:00
parent 9aea9aa6d1
commit b37eb0f55b

View file

@ -195,6 +195,17 @@ struct xrt_colour_rgba_f32
float a;
};
/*!
* Image size.
*
* @ingroup xrt_iface math
*/
struct xrt_size
{
int w;
int h;
};
/*!
* A pose composed of a position and orientation.
*