matrix: note that _matrix_multiply can multiply in-place
authorRobert Bragg <robert@linux.intel.com>
Tue, 1 Feb 2011 13:19:49 +0000 (13:19 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 9 Feb 2011 17:21:48 +0000 (17:21 +0000)
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

index 24c01e6..8e9f207 100644 (file)
@@ -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.
+ *
+ * <note>It is possible to multiply the @a matrix in-place, so
+ * @result can be equal to @a but can't be equal to @b.</note>
  */
 void
 cogl_matrix_multiply (CoglMatrix *result,