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