[cogl/lionel/introspection-fixes: 3/11] quaternion: fix structure introspection annotation



commit 3e22aed2398d0443ec01ff125c5802f848e78799
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Sat Aug 24 13:41:33 2013 +0100

    quaternion: fix structure introspection annotation

 cogl/cogl-quaternion.h |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h
index 4da6f5e..b5848c1 100644
--- a/cogl/cogl-quaternion.h
+++ b/cogl/cogl-quaternion.h
@@ -56,6 +56,13 @@ COGL_BEGIN_DECLS
 
 /**
  * CoglQuaternion:
+ * @w: based on the angle of rotation it is cos(𝜃/2)
+ * @x: based on the angle of rotation and x component of the axis of
+ *     rotation it is sin(𝜃/2)*axis.x
+ * @y: based on the angle of rotation and y component of the axis of
+ *     rotation it is sin(𝜃/2)*axis.y
+ * @z: based on the angle of rotation and z component of the axis of
+ *     rotation it is sin(𝜃/2)*axis.z
  *
  * A quaternion is comprised of a scalar component and a 3D vector
  * component. The scalar component is normally referred to as w and the
@@ -113,13 +120,6 @@ COGL_BEGIN_DECLS
  * </listitem>
  * </itemizedlist>
  *
- * @w: based on the angle of rotation it is cos(𝜃/2)
- * @x: based on the angle of rotation and x component of the axis of
- * rotation it is sin(𝜃/2)*axis.x
- * @y: based on the angle of rotation and y component of the axis of
- * rotation it is sin(𝜃/2)*axis.y
- * @z: based on the angle of rotation and z component of the axis of
- * rotation it is sin(𝜃/2)*axis.z
  */
 struct _CoglQuaternion
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]