From c812eec4325d5ea66598f240e9737e09aca593b0 Mon Sep 17 00:00:00 2001 From: Mike Bell Date: Sun, 10 Sep 2023 13:18:13 +0100 Subject: [PATCH] Initialize all matrix values --- libraries/pico_vector/pretty_poly_types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/pico_vector/pretty_poly_types.hpp b/libraries/pico_vector/pretty_poly_types.hpp index 51076f8a..f0e65198 100644 --- a/libraries/pico_vector/pretty_poly_types.hpp +++ b/libraries/pico_vector/pretty_poly_types.hpp @@ -14,7 +14,7 @@ namespace pretty_poly { // 3x3 matrix for coordinate transformations struct mat3_t { - float v00, v10, v20, v01, v11, v21, v02, v12, v22 = 0.0f; + float v00 = 0.0f, v10 = 0.0f, v20 = 0.0f, v01 = 0.0f, v11 = 0.0f, v21 = 0.0f, v02 = 0.0f, v12 = 0.0f, v22 = 0.0f; mat3_t() = default; mat3_t(const mat3_t &m) = default; inline mat3_t& operator*= (const mat3_t &m) {