[Cogl] [PATCH 1/6] Fix the documentation for cogl_quaterinon_init_from_array

Robert Bragg robert at sixbynine.org
Wed Jun 20 03:18:45 PDT 2012


looks good to land, thanks.

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

On Thu, May 17, 2012 at 11:40 PM, Neil Roberts <neil at linux.intel.com> wrote:
> The documentation for cogl_quaternion_init_from_array contradicts
> itself and says that the array is w,x,y,z in one part but x,y,z,w in
> another. This fixes it to say w,x,y,z in both parts.
> ---
>  cogl/cogl-quaternion.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h
> index 398fe86..2a00741 100644
> --- a/cogl/cogl-quaternion.h
> +++ b/cogl/cogl-quaternion.h
> @@ -200,7 +200,7 @@ cogl_quaternion_init_identity (CoglQuaternion *quaternion);
>  /**
>  * cogl_quaternion_init_from_array:
>  * @quaternion: A #CoglQuaternion
> - * @array: An array of 4 floats (x,y,z),w
> + * @array: An array of 4 floats w,(x,y,z)
>  *
>  * Initializes a [w (x, y,z)] quaternion directly from an array of 4
>  * floats: [w,x,y,z].
> --
> 1.7.3.16.g9464b
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list