[cogl] quaternion: Document init_from_quaternion()
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] quaternion: Document init_from_quaternion()
- Date: Mon, 14 May 2012 08:28:50 +0000 (UTC)
commit 91c2a3580a6055fcb6902524d3e8354f27932e89
Author: Damien Lespiau <damien lespiau intel com>
Date: Fri May 11 11:43:35 2012 +0100
quaternion: Document init_from_quaternion()
Reviewed-by: Robert Bragg <robert linux intel com>
cogl/cogl-quaternion.h | 7 +++++++
doc/reference/cogl2/cogl2-sections.txt | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h
index b90fde8..1ec9825 100644
--- a/cogl/cogl-quaternion.h
+++ b/cogl/cogl-quaternion.h
@@ -258,6 +258,13 @@ void
cogl_quaternion_init_from_euler (CoglQuaternion *quaternion,
const CoglEuler *euler);
+/**
+ * cogl_quaternion_init_from_quaternion:
+ * @quaternion: A #CoglQuaternion
+ * @src: A #CoglQuaternion with which to initialize @quaternion
+ *
+ * Since: 2.0
+ */
void
cogl_quaternion_init_from_quaternion (CoglQuaternion *quaternion,
CoglQuaternion *src);
diff --git a/doc/reference/cogl2/cogl2-sections.txt b/doc/reference/cogl2/cogl2-sections.txt
index 2a25ac2..7f692d5 100644
--- a/doc/reference/cogl2/cogl2-sections.txt
+++ b/doc/reference/cogl2/cogl2-sections.txt
@@ -582,6 +582,7 @@ cogl_euler_free
CoglQuaternion
cogl_quaternion_init_identity
cogl_quaternion_init
+cogl_quaternion_init_from_quaternion
cogl_quaternion_init_from_angle_vector
cogl_quaternion_init_from_array
cogl_quaternion_init_from_x_rotation
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]