From: Bryce Harrington Date: Mon, 18 Sep 2017 17:35:38 +0000 (-0700) Subject: eina: document matrix3 multiplication routines X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2606 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=224b75b46dfa8b99da483394750633161bd70ed1;p=platform%2Fupstream%2Fefl.git eina: document matrix3 multiplication routines Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5200 Signed-off-by: Cedric BAIL --- diff --git a/src/lib/eina/eina_matrix.h b/src/lib/eina/eina_matrix.h index f04b175..377986e 100644 --- a/src/lib/eina/eina_matrix.h +++ b/src/lib/eina/eina_matrix.h @@ -178,6 +178,18 @@ struct _Eina_Matrix3_F16p16 EAPI void eina_matrix3_f16p16_identity(Eina_Matrix3_F16p16 *m); /** + * @brief Sets dst as the matrix multiplication (composition) of two + * Eina_F16p16 matrices. + * + * In matrix multiplication, AB, the resultant matrix is created from + * the rows of A multiplied against the columns of B and summed. This + * is not a cummutative; i.e. AB != BA, so the ordering of arguments + * @p m1 and @p m2 matters. + * + * @param[in] m1 The first matrix. Must be non-NULL. + * @param[in] m2 The second matrix. Must be non-NULL. + * @param[out] dst The matrix for the results to be placed. + * * @since 1.14 */ EAPI void eina_matrix3_f16p16_compose(const Eina_Matrix3_F16p16 *m1, @@ -341,6 +353,17 @@ EAPI void eina_matrix3_matrix3_f16p16_to(const Eina_Matrix3 *m, EAPI Eina_Bool eina_matrix3_equal(const Eina_Matrix3 *m1, const Eina_Matrix3 *m2); /** + * @brief Sets dst as the matrix multiplication (composition) of two matrices. + * + * In matrix multiplication, AB, the resultant matrix is created from + * the rows of A multiplied against the columns of B and summed. This + * is not a cummutative; i.e. AB != BA, so the ordering of arguments + * @p m1 and @p m2 matters. + * + * @param[in] m1 The first matrix. Must be non-NULL. + * @param[in] m2 The second matrix. Must be non-NULL. + * @param[out] dst The matrix for the results to be placed. + * * @since 1.14 */ EAPI void eina_matrix3_compose(const Eina_Matrix3 *m1,