From d0ca228776a5d057368cea2c743ea17b6c1a0c65 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 1 Feb 2011 13:19:49 +0000 Subject: [PATCH] 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. --- clutter/cogl/cogl/cogl-matrix.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clutter/cogl/cogl/cogl-matrix.h b/clutter/cogl/cogl/cogl-matrix.h index 24c01e6ca..8e9f207ab 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,