/** * graphene_vec3_min: * @a: a #graphene_vec3_t * @b: a #graphene_vec3_t * @res: (out caller-allocates): return location for the result vector * * Compares each component of the two given vectors and creates a * vector that contains the minimum values. * * Since: 1.0 */ void graphene_vec3_min (const graphene_vec3_t *a, const graphene_vec3_t *b, graphene_vec3_t *res) { res->value = graphene_simd4f_min (a->value, b->value); }
/** * graphene_simd4f_min: * @a: a #graphene_simd4f_t * @b: a #graphene_simd4f_t * * Creates a new #graphene_simd4f_t that contains the * minimum value of each component of @a and @b. * * Returns: the new minimum vector * * Since: 1.0 */ graphene_simd4f_t (graphene_simd4f_min) (const graphene_simd4f_t a, const graphene_simd4f_t b) { return graphene_simd4f_min (a, b); }