[Cogl] [PATCH 2/6] quaternion: Document init_from_euler()
Damien Lespiau
damien.lespiau at gmail.com
Sat May 12 12:45:32 PDT 2012
From: Damien Lespiau <damien.lespiau at intel.com>
---
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 3813c5a..eaa8263 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 c9af2fb..31f21aa 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
@@ -577,6 +577,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
--
1.7.7.5
More information about the Cogl
mailing list