From 3fea5051db58ed376275621b56fbaaba75bb7ea1 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 12 Apr 2010 15:16:58 +0100 Subject: [PATCH] CoglMatrix: Don't make the matrix fields private The xx, yx, zx etc fields are meant to be read-only but they were marked as private with the gtk-doc annotation. This patch moves the private marker so that the 16 float member fields are public but the type, inverted matrix, flags and padding are not. --- clutter/cogl/cogl/cogl-matrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/cogl/cogl/cogl-matrix.h b/clutter/cogl/cogl/cogl-matrix.h index f335940..80b828e 100644 --- a/clutter/cogl/cogl/cogl-matrix.h +++ b/clutter/cogl/cogl/cogl-matrix.h @@ -72,8 +72,6 @@ typedef struct _CoglMatrix CoglMatrix; */ struct _CoglMatrix { - /*< private >*/ - /* column 0 */ float xx; float yx; @@ -98,6 +96,8 @@ struct _CoglMatrix float zw; float ww; + /*< private >*/ + /* Note: we may want to extend this later with private flags * and a cache of the inverse transform matrix. */ float inv[16]; -- 2.7.4