From b37eb0f55b525334071a60e586b4d6c1bf6a1d1a Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 29 Sep 2019 15:29:56 +0100 Subject: [PATCH] xrt: Add xrt_size struct --- src/xrt/include/xrt/xrt_defines.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/xrt/include/xrt/xrt_defines.h b/src/xrt/include/xrt/xrt_defines.h index 8d7cc577e..ce749c528 100644 --- a/src/xrt/include/xrt/xrt_defines.h +++ b/src/xrt/include/xrt/xrt_defines.h @@ -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. *