[cogl/wip/rib/cogl-1.12: 35/101] quaternion: Document init_from_euler()
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/rib/cogl-1.12: 35/101] quaternion: Document init_from_euler()
- Date: Mon, 6 Aug 2012 13:04:00 +0000 (UTC)
commit 270f21dfd516694bb31a600700b9802038907f3c
Author: Damien Lespiau <damien lespiau intel com>
Date: Fri May 11 11:40:38 2012 +0100
quaternion: Document init_from_euler()
Reviewed-by: Robert Bragg <robert linux intel com>
(cherry picked from commit 018703a8e83835e7ab522f5e011fdd4a039523a2)
cogl/cogl-quaternion.h | 7 +++++++
.../cogl-2.0-experimental-sections.txt | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h
index 0b4176b..b90fde8 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 3f09cab..741bd74 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]