quaternion: Document init_from_quaternion()

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit 91c2a3580a6055fcb6902524d3e8354f27932e89)
This commit is contained in:
Damien Lespiau 2012-05-11 11:43:35 +01:00 committed by Robert Bragg
parent 28655fd608
commit e172cac480
2 changed files with 8 additions and 0 deletions

View File

@ -258,6 +258,13 @@ void
cogl_quaternion_init_from_euler (CoglQuaternion *quaternion, cogl_quaternion_init_from_euler (CoglQuaternion *quaternion,
const CoglEuler *euler); const CoglEuler *euler);
/**
* cogl_quaternion_init_from_quaternion:
* @quaternion: A #CoglQuaternion
* @src: A #CoglQuaternion with which to initialize @quaternion
*
* Since: 2.0
*/
void void
cogl_quaternion_init_from_quaternion (CoglQuaternion *quaternion, cogl_quaternion_init_from_quaternion (CoglQuaternion *quaternion,
CoglQuaternion *src); CoglQuaternion *src);

View File

@ -583,6 +583,7 @@ cogl_euler_free
CoglQuaternion CoglQuaternion
cogl_quaternion_init_identity cogl_quaternion_init_identity
cogl_quaternion_init cogl_quaternion_init
cogl_quaternion_init_from_quaternion
cogl_quaternion_init_from_angle_vector cogl_quaternion_init_from_angle_vector
cogl_quaternion_init_from_array cogl_quaternion_init_from_array
cogl_quaternion_init_from_x_rotation cogl_quaternion_init_from_x_rotation