From b10f20c81ca21a9a33179db4f98012a1fb21750c Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 25 Jun 2019 00:38:57 +0100 Subject: [PATCH] Remove unused function It's tripping -Wunused on Clang (though not on GCC). Fixes: #159 --- src/graphene-matrix.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/graphene-matrix.c b/src/graphene-matrix.c index 9078c194..21bb5006 100644 --- a/src/graphene-matrix.c +++ b/src/graphene-matrix.c @@ -1590,21 +1590,6 @@ graphene_matrix_skew_yz (graphene_matrix_t *m, m->value.z = graphene_simd4f_madd (m_y, graphene_simd4f_splat (factor), m_z); } -static inline void -graphene_matrix_transpose_transform_vec4 (const graphene_matrix_t *m, - const graphene_vec4_t *v, - graphene_vec4_t *res) -{ - float x, y, z, w; - - x = graphene_simd4f_get_x (graphene_simd4f_dot4 (m->value.x, v->value)); - y = graphene_simd4f_get_x (graphene_simd4f_dot4 (m->value.y, v->value)); - z = graphene_simd4f_get_x (graphene_simd4f_dot4 (m->value.z, v->value)); - w = graphene_simd4f_get_x (graphene_simd4f_dot4 (m->value.w, v->value)); - - graphene_vec4_init (res, x, y, z, w); -} - /** * graphene_matrix_transpose: * @m: a #graphene_matrix_t