Cogl.Quaternion.init_from_z_rotation – doc Reference Manual
Packages
doc
Cogl
Quaternion
equal
copy
dot_product
free
get_rotation_angle
get_rotation_axis
init
init_from_angle_vector
init_from_array
init_from_euler
init_from_matrix
init_from_quaternion
init_from_x_rotation
init_from_y_rotation
init_from_z_rotation
init_identity
invert
multiply
nlerp
normalize
pow
slerp
squad
w
x
y
z
init_from_z_rotation
Description:
public
void
init_from_z_rotation
(
float
angle)
Parameters:
this
An uninitialized
Quaternion
angle
The angle to rotate around the z axis