From: Robert Bragg Date: Tue, 1 Feb 2011 13:19:49 +0000 (+0000) Subject: matrix: note that _matrix_multiply can multiply in-place X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0ca228776a5d057368cea2c743ea17b6c1a0c65;p=profile%2Fivi%2Fclutter.git matrix: note that _matrix_multiply can multiply in-place This adds a note to clarify that cogl_matrix_multiply allows you to multiply the @a matrix in-place, so @a can equal @result but @b can't equal @result. --- diff --git a/clutter/cogl/cogl/cogl-matrix.h b/clutter/cogl/cogl/cogl-matrix.h index 24c01e6..8e9f207 100644 --- a/clutter/cogl/cogl/cogl-matrix.h +++ b/clutter/cogl/cogl/cogl-matrix.h @@ -130,7 +130,10 @@ cogl_matrix_init_identity (CoglMatrix *matrix); * @b: A 4x4 transformation matrix * * Multiplies the two supplied matrices together and stores - * the resulting matrix inside @result + * the resulting matrix inside @result. + * + * It is possible to multiply the @a matrix in-place, so + * @result can be equal to @a but can't be equal to @b. */ void cogl_matrix_multiply (CoglMatrix *result,