Skip to content

Commit

Permalink
Initialize all matrix values
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBell committed Sep 10, 2023
1 parent 9124b37 commit c812eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/pico_vector/pretty_poly_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c812eec

Please sign in to comment.