quaternion: Document init_from_euler()

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

(cherry picked from commit 018703a8e83835e7ab522f5e011fdd4a039523a2)
This commit is contained in:
Damien Lespiau 2012-05-11 11:40:38 +01:00 committed by Robert Bragg
parent 413862e49e
commit 28655fd608
2 changed files with 8 additions and 0 deletions

View File

@ -247,6 +247,13 @@ void
cogl_quaternion_init_from_z_rotation (CoglQuaternion *quaternion,
float angle);
/**
* cogl_quaternion_init_from_euler:
* @quaternion: A #CoglQuaternion
* @euler: A #CoglEuler with which to initialize the quaternion
*
* Since: 2.0
*/
void
cogl_quaternion_init_from_euler (CoglQuaternion *quaternion,
const CoglEuler *euler);

View File

@ -588,6 +588,7 @@ cogl_quaternion_init_from_array
cogl_quaternion_init_from_x_rotation
cogl_quaternion_init_from_y_rotation
cogl_quaternion_init_from_z_rotation
cogl_quaternion_init_from_euler
cogl_quaternion_equal
cogl_quaternion_copy
cogl_quaternion_free