The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/math: Fix warning in math_matrix_2x2_multiply

authored by

Jakob Bornecrantz and committed by
Jakob Bornecrantz
98982bd2 aad9b04a

+3 -2
+3 -2
src/xrt/auxiliary/math/m_base.cpp
··· 354 354 const struct xrt_matrix_2x2 l = *left; 355 355 const struct xrt_matrix_2x2 r = *right; 356 356 357 - struct xrt_matrix_2x2 result = {{ 357 + // Initialisers: struct, union, v[4] 358 + struct xrt_matrix_2x2 result = {{{ 358 359 l.v[0] * r.v[0] + l.v[1] * r.v[2], 359 360 l.v[0] * r.v[1] + l.v[1] * r.v[3], 360 361 l.v[2] * r.v[0] + l.v[3] * r.v[2], 361 362 l.v[2] * r.v[1] + l.v[3] * r.v[3], 362 - }}; 363 + }}}; 363 364 364 365 *result_out = result; 365 366 }