Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
It's tripping -Wunused on Clang (though not on GCC).

Fixes: #159
  • Loading branch information
ebassi committed Jun 24, 2019
1 parent 55141aa commit 29eb2a4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/graphene-matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29eb2a4

Please sign in to comment.