[cogl/cogl-1.16] quaternion: fix structure introspection annotation
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.16] quaternion: fix structure introspection annotation
- Date: Fri, 6 Sep 2013 17:40:08 +0000 (UTC)
commit 9cbf1e8a08fe0984f124f7447c5398e78a9019b4
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Sat Aug 24 13:41:33 2013 +0100
quaternion: fix structure introspection annotation
Reviewed-by: Robert Bragg <robert linux intel com>
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]