From 28655fd60889bb5c1edf6ea1f6c38cb4a2267d40 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 11 May 2012 11:40:38 +0100 Subject: [PATCH] quaternion: Document init_from_euler() Reviewed-by: Robert Bragg (cherry picked from commit 018703a8e83835e7ab522f5e011fdd4a039523a2) --- cogl/cogl-quaternion.h | 7 +++++++ .../cogl-2.0-experimental-sections.txt | 1 + 2 files changed, 8 insertions(+) diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h index 0b4176b37..b90fde8a1 100644 --- a/cogl/cogl-quaternion.h +++ b/cogl/cogl-quaternion.h @@ -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); diff --git a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt index 3f09cab05..741bd7441 100644 --- a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt +++ b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt @@ -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