From 86a5259578f81c1d1e047a786aa8f6718d99c302 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 11 May 2012 11:57:03 +0100 Subject: [PATCH] doc: Include the documentation for CoglEuler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several little changes were needed to make the CoglEuler documentation appear: • Fix the embeded docbook snippet in the CoglEuler section header • Add the xinclude directive to the main document • Add the missing
in -sections.txt Reviewed-by: Robert Bragg (cherry picked from commit c7f6e07f7b8ba0d7dc9604e888c8a46165ec3ed4) --- cogl/cogl-euler.h | 4 ++-- .../cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in | 1 + .../cogl-2.0-experimental/cogl-2.0-experimental-sections.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cogl/cogl-euler.h b/cogl/cogl-euler.h index 0d1ec0282..e30120230 100644 --- a/cogl/cogl-euler.h +++ b/cogl/cogl-euler.h @@ -62,7 +62,7 @@ G_BEGIN_DECLS * * Easy to understand and use, compared to quaternions and matrices, * so may be a good choice for a user interface. - * + * * * Efficient storage, needing only 3 components any rotation can be * represented. @@ -105,7 +105,7 @@ G_BEGIN_DECLS * slightly different aeronautical terms, such as "yaw" instead of * "heading" or "bank" instead of "roll". * - * + * * * To minimize the aliasing issue we may refer to "Canonical Euler" * angles where heading and roll are restricted to +- 180° and pitch is diff --git a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in index 8e3a30256..411503fd8 100644 --- a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in +++ b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in @@ -125,6 +125,7 @@ + diff --git a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt index acc0eaec0..d0476eaaf 100644 --- a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt +++ b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt @@ -566,6 +566,7 @@ cogl_matrix_project_points cogl_matrix_is_identity
+
cogl-euler Eulers (Rotations) CoglEuler