quaternion: fix structure introspection annotation
Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
fa2f47059c
commit
9cbf1e8a08
@ -56,6 +56,13 @@ COGL_BEGIN_DECLS
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* CoglQuaternion:
|
* 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
|
* A quaternion is comprised of a scalar component and a 3D vector
|
||||||
* component. The scalar component is normally referred to as w and the
|
* component. The scalar component is normally referred to as w and the
|
||||||
@ -113,13 +120,6 @@ COGL_BEGIN_DECLS
|
|||||||
* </listitem>
|
* </listitem>
|
||||||
* </itemizedlist>
|
* </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
|
struct _CoglQuaternion
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user