fix: added missing float declarations

This commit is contained in:
2020-11-12 19:27:12 +01:00
parent 923b314a7a
commit c43283d10b

View File

@@ -136,7 +136,7 @@ TEST(vec_roll_to_mat3_normalized, Rotationmatrix)
{
const float expected_roll_mat[3][3] = {{0.000000f, -9.99999975e-06f, 1.000000f},
{9.99999975e-06f, -0.999999881f, 9.99999975e-06f},
{1.000000f, -9.99999975e-06, 0.000000f}};
{1.000000f, -9.99999975e-06f, 0.000000f}};
const float normalized_vector[3] = {1e-5f, -0.999999881f, 1e-5f}; /* Corner Case. */
vec_roll_to_mat3_normalized(normalized_vector, roll, roll_mat);