diff --git a/src/xrt/include/xrt/xrt_defines.h b/src/xrt/include/xrt/xrt_defines.h index 8c1d25c18..5dff81f85 100644 --- a/src/xrt/include/xrt/xrt_defines.h +++ b/src/xrt/include/xrt/xrt_defines.h @@ -1,4 +1,4 @@ -// Copyright 2019, Collabora, Ltd. +// Copyright 2019-2020, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file @@ -147,6 +147,17 @@ struct xrt_vec3_i32 int32_t z; }; +/*! + * A 2 element vector with 32 bit integers. + * + * @ingroup xrt_iface math + */ +struct xrt_vec2_i32 +{ + int32_t x; + int32_t y; +}; + /*! * A 3 element colour with 8 bits per channel. *