[Cogl] [PATCH 3/6] quaternion: Document init_from_quaternion()

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


thanks, please land:

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 eaa8263..ae9605b 100644
> --- a/cogl/cogl-quaternion.h
> +++ b/cogl/cogl-quaternion.h
> @@ -258,6 +258,13 @@ void
>  cogl_quaternion_init_from_euler (CoglQuaternion *quaternion,
>                                  const CoglEuler *euler);
>
> +/**
> + * cogl_quaternion_init_from_quaternion:
> + * @quaternion: A #CoglQuaternion
> + * @src: A #CoglQuaternion with which to initialize @quaternion
> + *
> + * Since: 2.0
> + */
>  void
>  cogl_quaternion_init_from_quaternion (CoglQuaternion *quaternion,
>                                       CoglQuaternion *src);
> 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 31f21aa..e318222 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
> @@ -572,6 +572,7 @@ cogl_euler_free
>  CoglQuaternion
>  cogl_quaternion_init_identity
>  cogl_quaternion_init
> +cogl_quaternion_init_from_quaternion
>  cogl_quaternion_init_from_angle_vector
>  cogl_quaternion_init_from_array
>  cogl_quaternion_init_from_x_rotation
> --
> 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