mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
OP-922 Make it explict that matrix_mult_3x3f should be static inline
This commit is contained in:
parent
34983a2d28
commit
232d9c10b2
@ -97,7 +97,7 @@ void rot_mult(float R[3][3], const float vec[3], float vec_out[3]);
|
||||
* @param b
|
||||
* @param result
|
||||
*/
|
||||
inline void matrix_mult_3x3f(float a[3][3], float b[3][3], float result[3][3])
|
||||
static inline void matrix_mult_3x3f(float a[3][3], float b[3][3], float result[3][3])
|
||||
{
|
||||
result[0][0] = a[0][0] * b[0][0] + a[1][0] * b[0][1] + a[2][0] * b[0][2];
|
||||
result[0][1] = a[0][1] * b[0][0] + a[1][1] * b[0][1] + a[2][1] * b[0][2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user