Angle to rotate around an object's y axis
Angle to rotate around an object's x axis
Angle to rotate around an object's z axis
Frees a #CoglEuler that was previously allocated using cogl_euler_copy().
Initializes euler
to represent a rotation of x_angle
degrees
around the x axis, then y_angle
degrees around the y_axis and
z_angle
degrees around the z axis.
Angle to rotate around an object's y axis
Angle to rotate around an object's x axis
Angle to rotate around an object's z axis
Initializes a euler
rotation with the equivalent rotation
represented by the given quaternion
.
A #CoglEuler with the rotation to initialize with
Compares the two given euler angles v1
and v1
and it they are
equal returns %TRUE else %FALSE.
The first euler angle to compare
The second euler angle to compare
Represents an ordered rotation first of
heading
degrees around an object's y axis, thenpitch
degrees around an object's x axis and finallyroll
degrees around an object's z axis.The members of a #CoglEuler can be initialized, for example, with cogl_euler_init() and cogl_euler_init_from_quaternion ().
You may also want to look at cogl_quaternion_init_from_euler() if you want to do interpolation between 3d rotations.