diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-08-24 13:41:33 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-09-06 18:49:47 +0100 |
commit | e622a3c4c3d7d4d177f0627e34ac732a76e9c607 (patch) | |
tree | 57edb1cf1d2b679537fe66a9a92f09ff6aaf1590 | |
parent | 08090beddf92cbc6e78f2f0b72332ee02e993617 (diff) | |
download | cogl-e622a3c4c3d7d4d177f0627e34ac732a76e9c607.tar.gz |
quaternion: fix structure introspection annotation
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 9cbf1e8a08fe0984f124f7447c5398e78a9019b4)
-rw-r--r-- | 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 38e8e166..02be22e8 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 { |