xrt: Add xrt_vec2_i32

This commit is contained in:
Pete Black 2020-03-05 11:46:22 +00:00 committed by Ryan Pavlik
parent 8597ad5ee8
commit a0be6e139a

View file

@ -1,4 +1,4 @@
// Copyright 2019, Collabora, Ltd. // Copyright 2019-2020, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0 // SPDX-License-Identifier: BSL-1.0
/*! /*!
* @file * @file
@ -147,6 +147,17 @@ struct xrt_vec3_i32
int32_t z; 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. * A 3 element colour with 8 bits per channel.
* *