mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Add xrt_vec2_i32
This commit is contained in:
parent
8597ad5ee8
commit
a0be6e139a
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue