mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
t/psvr: Initialize Eigen vector with zeros.
Fixes very verbose GCC 13 warning [-Wmaybe-uninitialized].
This commit is contained in:
parent
b0d47951f6
commit
68faf2bc89
|
@ -193,11 +193,11 @@ typedef struct model_vertex
|
|||
|
||||
typedef struct match_data
|
||||
{
|
||||
float angle = {}; // angle from reference vector
|
||||
float distance = {}; // distance from base of reference vector
|
||||
int32_t vertex_index = {}; // index also known as tag
|
||||
Eigen::Vector4f position = {}; // 3d position of vertex
|
||||
blob_point_t src_blob = {}; // blob this vertex was derived from
|
||||
float angle = {}; // angle from reference vector
|
||||
float distance = {}; // distance from base of reference vector
|
||||
int32_t vertex_index = {}; // index also known as tag
|
||||
Eigen::Vector4f position = Eigen::Vector4f::Zero(); // 3d position of vertex
|
||||
blob_point_t src_blob = {}; // blob this vertex was derived from
|
||||
} match_data_t;
|
||||
|
||||
typedef struct match_model
|
||||
|
|
Loading…
Reference in a new issue