/** * graphene_matrix_init_identity: * @m: a #graphene_matrix_t * * Initializes a #graphene_matrix_t with the identity matrix. * * Returns: (transfer none): the initialized matrix * * Since: 1.0 */ graphene_matrix_t * graphene_matrix_init_identity (graphene_matrix_t *m) { graphene_simd4x4f_init_identity (&m->value); return m; }
graphene_matrix_t * graphene_matrix_init_identity (graphene_matrix_t *m) { g_return_val_if_fail (m != NULL, NULL); graphene_simd4x4f_init_identity (&m->value); return m; }