[Cogl] [PATCH 2/6] quaternion: Document init_from_euler()

Robert Bragg robert at sixbynine.org
Sun May 13 12:15:38 PDT 2012


thanks please land this:

Reviewed-by: Robert Bragg <robert at linux.intel.com>

- Robert

On Sat, May 12, 2012 at 8:45 PM, Damien Lespiau
<damien.lespiau at gmail.com> wrote:
> From: Damien Lespiau <damien.lespiau at intel.com>
>
> ---
>  cogl/cogl-quaternion.h                             |    7 +++++++
>  .../cogl-2.0-experimental-sections.txt             |    1 +
>  2 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h
> index 3813c5a..eaa8263 100644
> --- a/cogl/cogl-quaternion.h
> +++ b/cogl/cogl-quaternion.h
> @@ -247,6 +247,13 @@ void
>  cogl_quaternion_init_from_z_rotation (CoglQuaternion *quaternion,
>                                       float angle);
>
> +/**
> + * cogl_quaternion_init_from_euler:
> + * @quaternion: A #CoglQuaternion
> + * @euler: A #CoglEuler with which to initialize the quaternion
> + *
> + * Since: 2.0
> + */
>  void
>  cogl_quaternion_init_from_euler (CoglQuaternion *quaternion,
>                                  const CoglEuler *euler);
> 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 c9af2fb..31f21aa 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
> @@ -577,6 +577,7 @@ cogl_quaternion_init_from_array
>  cogl_quaternion_init_from_x_rotation
>  cogl_quaternion_init_from_y_rotation
>  cogl_quaternion_init_from_z_rotation
> +cogl_quaternion_init_from_euler
>  cogl_quaternion_equal
>  cogl_quaternion_copy
>  cogl_quaternion_free
> --
> 1.7.7.5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list