[cogl/wip/rib/cogl-1.12: 59/139] Fix the documentation for cogl_quaterinon_init_from_array
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/rib/cogl-1.12: 59/139] Fix the documentation for cogl_quaterinon_init_from_array
- Date: Wed, 15 Aug 2012 13:08:23 +0000 (UTC)
commit bdc8a12ea10de19e6f10094864a65a244a44839c
Author: Neil Roberts <neil linux intel com>
Date: Thu May 17 17:46:30 2012 +0100
Fix the documentation for cogl_quaterinon_init_from_array
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.
Reviewed-by: Robert Bragg <robert linux intel com>
(cherry picked from commit b08a81e5dfb05fec867c08c689237fae937341ad)
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].
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]