Cogl.Euler.prototype.init
function init(heading: Number(gfloat), pitch: Number(gfloat), roll: Number(gfloat)): void { // Gjs wrapper for cogl_euler_init() }
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.
Since 2.0
- heading
Angle to rotate around an object's y axis
- pitch
Angle to rotate around an object's x axis
- roll
Angle to rotate around an object's z axis