summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-05-11 11:43:35 +0100
committerRobert Bragg <robert@linux.intel.com>2012-08-06 14:27:41 +0100
commite172cac4806117f65507ee284fbc52f936eafb74 (patch)
treede5aafe049b883239d55e2d3fb0fe5ceb8be288d
parent28655fd60889bb5c1edf6ea1f6c38cb4a2267d40 (diff)
downloadcogl-e172cac4806117f65507ee284fbc52f936eafb74.tar.gz
quaternion: Document init_from_quaternion()
Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 91c2a3580a6055fcb6902524d3e8354f27932e89)
-rw-r--r--cogl/cogl-quaternion.h7
-rw-r--r--doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt1
2 files changed, 8 insertions, 0 deletions
diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h
index b90fde8a..1ec98259 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/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt
index 741bd744..acc0eaec 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
@@ -583,6 +583,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