Exemple #1
0
/**
 * graphene_simd4f_dup_4f:
 * @s: a #graphene_simd4f_t
 * @v: (out) (array fixed-size=4): return location for an
 *   array of at least 4 floating point values
 *
 * Copies the contents of a #graphene_simd4f_t into an
 * array of floating points.
 *
 * Since: 1.0
 */
void
(graphene_simd4f_dup_4f) (const graphene_simd4f_t  s,
                          float                   *v)
{
  graphene_simd4f_dup_4f (s, v);
}
Exemple #2
0
/**
 * graphene_vec4_to_float:
 * @v: a #graphene_vec4_t
 * @dest: (out caller-allocates) (array fixed-size=4): return location for
 *   an array of floating point values
 *
 * Stores the components of the given #graphene_vec4_t into an array
 * of floating point values.
 *
 * Since: 1.0
 */
void
graphene_vec4_to_float (const graphene_vec4_t *v,
                        float                 *dest)
{
  graphene_simd4f_dup_4f (v->value, dest);
}